Skip to content

Tonight's xfrm 'const' pass.

David Miller netdev 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest26 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/26xfrm: Pass km_event pointers around as const when possible.include/net/xfrm.h net/key/af_key.c net/xfrm/xfrm_state.c +1 more+26 -260 replies
2/26xfrm: Const'ify tmpl and address arguments to ->init_temprop()include/net/xfrm.h net/ipv4/xfrm4_state.c net/ipv6/xfrm6_state.c+8 -60 replies
3/26xfrm: Const'ify selector argument to xfrm_selector_match()include/net/xfrm.h net/xfrm/xfrm_policy.c+4 -40 replies
4/26xfrm: Const'ify address arguments to ->dst_lookup()include/net/xfrm.h net/ipv4/xfrm4_policy.c net/ipv6/xfrm6_policy.c+6 -60 replies
5/26xfrm: Const'ify address arguments to __xfrm_dst_lookup()net/xfrm/xfrm_policy.c+2 -20 replies
6/26xfrm: Const'ify address arguments to xfrm_addr_cmp()include/net/xfrm.h+2 -10 replies
7/26xfrm: Const'ify address argument to xfrm_addr_any()include/net/xfrm.h+1 -10 replies
8/26xfrm: Const'ify pointer args to migrate_tmpl_match and xfrm_migrate_checknet/xfrm/xfrm_policy.c+2 -20 replies
9/26xfrm: Const'ify pointer args to km_migrate() and implementations.include/net/xfrm.h net/key/af_key.c net/xfrm/xfrm_state.c +1 more+34 -300 replies
10/26xfrm: Const'ify address args to hash helpers.net/xfrm/xfrm_hash.h net/xfrm/xfrm_policy.c+26 -150 replies
11/26xfrm: Const'ify selector args in xfrm_migrate paths.include/net/xfrm.h net/xfrm/xfrm_policy.c+5 -50 replies
12/26xfrm: Const'ify local xfrm_address_t pointers in xfrm_policy_lookup_bytype.net/xfrm/xfrm_policy.c+1 -10 replies
13/26xfrm: Const'ify policy arg and local selector in xfrm_policy_match.net/xfrm/xfrm_policy.c+3 -20 replies
14/26xfrm: Const'ify policy arg to xp_net.include/net/xfrm.h+1 -10 replies
15/26xfrm: Const'ify policy arg to clone_policy.net/xfrm/xfrm_policy.c+1 -10 replies
16/26xfrm: Const'ify selector arg to xfrm_dst_update_parent.net/xfrm/xfrm_policy.c+1 -10 replies
17/26xfrm: Const'ify xfrm_tmpl and xfrm_state args to xfrm_state_addr_cmp.include/net/xfrm.h+3 -30 replies
18/26xfrm: Const'ify ptr args to xfrm_state_*_check and xfrm_state_kern.include/net/xfrm.h+12 -120 replies
19/26xfrm: Const'ify ptr args to xfrm_state_ok.net/xfrm/xfrm_policy.c+1 -10 replies
20/26xfrm: Const'ify ptr args to xfrm_policy_ok.net/xfrm/xfrm_policy.c+1 -10 replies
21/26xfrm: Const'ify sec_path arg to secpath_has_nontransport.net/xfrm/xfrm_policy.c+1 -10 replies
22/26xfrm: Const'ify xfrm_address_t args to xfrm_*_hash.net/xfrm/xfrm_state.c+6 -50 replies
23/26xfrm: Const'ify xfrm_tmpl arg to xfrm_init_tempstate.net/xfrm/xfrm_state.c+1 -10 replies
24/26xfrm: Const'ify xfrm_address_t args to __xfrm_state_lookup{,_byaddr}.net/xfrm/xfrm_state.c+8 -20 replies
25/26xfrm: Remove unused 'saddr' and 'daddr' args to xfrm_state_look_at.net/xfrm/xfrm_state.c+2 -30 replies
26/26xfrm: Const'ify xfrm_address_t args to xfrm_state_find.include/net/xfrm.h net/xfrm/xfrm_state.c+4 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/26] Tonight's xfrm 'const' pass.

This time we hit xfrm_address_t, template pointers, etc.

Most of the remaining work will be in the key managers.