Skip to content

xfrm: Correct inner packet family determination

Jianbo Liu netdev 4 versions – Applied

Status from this message: Applied, thaks a lot Jianbo!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 8 repliesApplied
  2. v2 posting 2/22 patches 2 repliesSuperseded
  3. v2 posting 1/21 patch 0 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v13 patches2 repliesSuperseded

Changes in v3 from the cover letter

- Change xfrm_ip2inner_mode for the sel family specified

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/2xfrm: Check inner packet family directly from skb_dstnet/xfrm/xfrm_device.c net/xfrm/xfrm_output.c+2 -21 reply
2/2xfrm: Determine inner GSO type from packet inner protocolinclude/net/xfrm.h net/ipv4/esp4_offload.c net/ipv6/esp6_offload.c+10 -56 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchCosmin RatiuZhu YanjunSabrina Dubroca
1/2R-b R-b
2/2R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v3 thread

Cover letter [PATCH ipsec v3 0/2] xfrm: Correct inner packet family determination

This series contains two patches addressing issues in the XFRM subsystem where the code incorrectly relied on static family fields from the xfrm_state instead of determining the family from the actual packet being processed.

This was particularly problematic in tunnel mode scenarios when using states that could handle different inner families.

V3:
- Change xfrm_ip2inner_mode for the sel family specified

V2:
- The original first patch was sent separately to "ipsec-next"

Jianbo Liu (2):
xfrm: Check inner packet family directly from skb_dst
xfrm: Determine inner GSO type from packet inner protocol

 include/net/xfrm.h      | 3 ++-
 net/ipv4/esp4_offload.c | 6 ++++--
 net/ipv6/esp6_offload.c | 6 ++++--
 net/xfrm/xfrm_device.c  | 2 +-
 net/xfrm/xfrm_output.c  | 2 +-
 5 files changed, 12 insertions(+), 7 deletions(-)
Signature · 1 line
2.49.0