Skip to content

xfrm: respect ip proto rules criteria in xfrm dst lookups

Eyal Birger netdev 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 2 repliesIn review
  2. v22 patches 2 repliesSuperseded
  3. v12 patches 3 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2xfrm: extract dst lookup parameters into a structinclude/net/xfrm.h net/ipv4/xfrm4_policy.c net/ipv6/xfrm6_policy.c +2 more+73 -650 replies
2/2xfrm: respect ip protocols rules criteria when performing dst lookupsinclude/net/xfrm.h net/ipv4/xfrm4_policy.c net/ipv6/xfrm6_policy.c +1 more+22 -01 reply

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by.

PatchAntony Antony
1/2
2/2T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH ipsec,v3 0/2] xfrm: respect ip proto rules criteria in xfrm dst lookups

This series fixes the route lookup for the outer packet after encapsulation, including the L4 criteria specified in IP rules

The first patch is a minor refactor to allow passing more parameters to dst lookup functions.
The second patch actually passes L4 information to these lookup functions.

---

v3: pass ipproto for non UDP/TCP encapsulated traffic (e.g. ESP)
v2: fix first patch based on reviews from Steffen Klassert and
Simon Horman

Eyal Birger (2):
xfrm: extract dst lookup parameters into a struct
xfrm: respect ip protocols rules criteria when performing dst lookups

 include/net/xfrm.h      | 28 ++++++++++++-----------
 net/ipv4/xfrm4_policy.c | 40 +++++++++++++++------------------
 net/ipv6/xfrm6_policy.c | 31 ++++++++++++-------------
 net/xfrm/xfrm_device.c  | 11 ++++++---
 net/xfrm/xfrm_policy.c  | 50 +++++++++++++++++++++++++++++++----------
 5 files changed, 95 insertions(+), 65 deletions(-)
Signature · 1 line
2.34.1