Skip to content

pull request (net): ipsec 2025-11-18

Steffen Klassert netdev 1 version Applied

Status from this message: This series was applied to netdev/net.git (main)

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 0 repliesApplied 10/10

Patches in v1 All 10 applied

#Subject and filesSizeRepliesApplied
1/10xfrm: drop SA reference in xfrm_state_update if dir doesn't matchnet/xfrm/xfrm_state.c+6 -20 repliesApplied
2/10xfrm: also call xfrm_state_delete_tunnel at destroy time for states that were never addednet/xfrm/xfrm_state.c+2 -10 repliesApplied
3/10xfrm: make state as DEAD before final put when migrate failsnet/xfrm/xfrm_state.c+2 -00 repliesApplied
4/10xfrm: call xfrm_dev_state_delete when xfrm_state_migrate fails to add the statenet/xfrm/xfrm_state.c+4 -10 repliesApplied
5/10xfrm: set err and extack on failure to create pcpu SAnet/xfrm/xfrm_user.c+4 -10 repliesApplied
6/10xfrm: check all hash buckets for leftover states during netns deletionnet/xfrm/xfrm_state.c+8 -40 repliesApplied
7/10xfrm: Check inner packet family directly from skb_dstnet/xfrm/xfrm_device.c net/xfrm/xfrm_output.c+2 -20 repliesApplied
8/10xfrm: Determine inner GSO type from packet inner protocolinclude/net/xfrm.h net/ipv4/esp4_offload.c net/ipv6/esp6_offload.c+10 -50 repliesApplied
9/10xfrm: Prevent locally generated packets from direct output in tunnel modenet/xfrm/xfrm_output.c+5 -10 repliesApplied
10/10xfrm: fix memory leak in xfrm_add_acquire()net/xfrm/xfrm_user.c+3 -00 repliesApplied

Reviews trailers per patch

4 of 10 patches have a Reviewed-by or Acked-by.

PatchLeon RomanovskyCosmin RatiuZhu YanjunSabrina Dubroca
1/10
2/10
3/10
4/10
5/10
6/10
7/10R-b R-b R-b
8/10R-b R-b
9/10R-b
10/10R-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 4 reviewers.

Read the v1 thread

Cover letter [PATCH 0/10] pull request (net): ipsec 2025-11-18

1) Misc fixes for xfrm_state creation/modification/deletion. Patchset from Sabrina Dubroca.

2) Fix inner packet family determination for xfrm offloads. From Jianbo Liu.

3) Don't push locally generated packets directly to L2 tunnel mode offloading, they still need processing from the standard xfrm path. From Jianbo Liu.

4) Fix memory leaks in xfrm_add_acquire for policy offloads and policy security contexts. From Zilin Guan.

Please pull or let me know if there are problems.

Thanks!

The following changes since commit f584239a9ed25057496bf397c370cc5163dde419:

net/smc: fix general protection fault in __smc_diag_dump (2025-10-20 17:46:06 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/klassert/ipsec.git tags/ipsec-2025-11-18

for you to fetch changes up to a55ef3bff84f11ee8c84a1ae29b071ffd4ccbbd9:

xfrm: fix memory leak in xfrm_add_acquire() (2025-11-14 10:12:36 +0100)

----------------------------------------------------------------
ipsec-2025-11-18

----------------------------------------------------------------
Jianbo Liu (3):
xfrm: Check inner packet family directly from skb_dst
xfrm: Determine inner GSO type from packet inner protocol
xfrm: Prevent locally generated packets from direct output in tunnel mode

Sabrina Dubroca (6):
xfrm: drop SA reference in xfrm_state_update if dir doesn't match
xfrm: also call xfrm_state_delete_tunnel at destroy time for states that were never added
xfrm: make state as DEAD before final put when migrate fails
xfrm: call xfrm_dev_state_delete when xfrm_state_migrate fails to add the state
xfrm: set err and extack on failure to create pcpu SA
xfrm: check all hash buckets for leftover states during netns deletion

Zilin Guan (1):
xfrm: fix memory leak in xfrm_add_acquire()

 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  |  8 ++++++--
 net/xfrm/xfrm_state.c   | 30 ++++++++++++++++++++++--------
 net/xfrm/xfrm_user.c    |  8 +++++++-
 7 files changed, 46 insertions(+), 17 deletions(-)