Skip to content

Const'ify flowi args in xfrm and flow cache.

David Miller netdev 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest20 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/20xfrm: Mark flowi arg const in key extraction helpers.include/net/xfrm.h+6 -60 replies
2/20xfrm: Mark flowi arg to ->get_tos() const.include/net/xfrm.h net/ipv4/xfrm4_policy.c net/ipv6/xfrm6_policy.c +1 more+4 -40 replies
3/20xfrm: Mark flowi arg to ->fill_dst() const.include/net/xfrm.h net/ipv4/xfrm4_policy.c net/ipv6/xfrm6_policy.c +1 more+4 -40 replies
4/20xfrm: Mark flowi arg to ->init_tempsel() const.include/net/xfrm.h net/ipv4/xfrm4_state.c net/ipv6/xfrm6_state.c+4 -30 replies
5/20xfrm: Mark flowi arg to xfrm_type->reject() const.include/net/xfrm.h net/ipv6/mip6.c net/xfrm/xfrm_policy.c+5 -30 replies
6/20xfrm: Mark token args to addr_match() const.include/net/xfrm.h+7 -60 replies
7/20xfrm: Mark flowi arg to xfrm_selector_match() const.include/net/xfrm.h net/xfrm/xfrm_policy.c+6 -50 replies
8/20xfrm: Mark flowi arg to security_xfrm_state_pol_flow_match() const.include/linux/security.h security/capability.c security/security.c +2 more+9 -70 replies
9/20xfrm: Mark flowi arg to xfrm_state_look_at() const.net/xfrm/xfrm_state.c+1 -10 replies
10/20xfrm: Mark flowi arg to xfrm_init_tempstate() const.net/xfrm/xfrm_state.c+1 -10 replies
11/20xfrm: Mark flowi arg to xfrm_state_find() const.include/net/xfrm.h net/xfrm/xfrm_state.c+5 -30 replies
12/20net: Mark flowi arg to flow_cache_uli_match() const.include/net/flow.h+2 -10 replies
13/20xfrm: Kill strict arg to xfrm_bundle_ok().net/xfrm/xfrm_policy.c+3 -80 replies
14/20xfrm: Mark flowi arg to xfrm_policy_{lookup_by_type,match}() const.net/xfrm/xfrm_policy.c+2 -20 replies
15/20xfrm: Mark flowi arg to xfrm_expand_policies() const.net/xfrm/xfrm_policy.c+2 -20 replies
16/20xfrm: Mark flowi arg to xfrm_tmpl_resolve{,_one}() const.net/xfrm/xfrm_policy.c+4 -60 replies
17/20xfrm: Mark flowi arg to xfrm_bundle_create() const.net/xfrm/xfrm_policy.c+1 -10 replies
18/20xfrm: Mark flowi arg to xfrm_dst_{alloc_copy,update_origin}() const.net/xfrm/xfrm_policy.c+2 -20 replies
19/20xfrm: Mark flowi arg to xfrm_resolve_and_create_bundle() const.net/xfrm/xfrm_policy.c+1 -10 replies
20/20net: Make flow cache paths use a const struct flowi.include/net/dst.h include/net/flow.h net/core/flow.c +1 more+23 -180 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/20] Const'ify flowi args in xfrm and flow cache.

This series walks the dependency chain marking flowi arguments as const, when possible, in the xfrm layer.

Then at the end we are able to thus use const flowi objects in the flow cache as well.