pull request (net): ipsec 2026-05-05
Status from this message: This series was applied to netdev/net.git (main)
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 All 8 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | ipv6: xfrm6: release dst on error in xfrm6_rcv_encap()net/ | +3 | 0 replies | Applied |
| 2/8 | xfrm: ah: account for ESN high bits in async callbacksnet/ net/ | +24 | 0 replies | Applied |
| 3/8 | tools/selftests: Use a sensible timeout value for iperf3 clienttools/ | +4 | 0 replies | Applied |
| 4/8 | tools/selftests: Add a VXLAN+IPsec traffic testtools/ tools/ tools/ | +210 | 3 replies | Applied |
| 5/8 | xfrm: Don't clobber inner headers when already setnet/ | +14 | 0 replies | Applied |
| 6/8 | xfrm: provide message size for XFRM_MSG_MAPPINGnet/ | +1 | 0 replies | Applied |
| 7/8 | xfrm: defensively unhash xfrm_state lists in __xfrm_state_deletenet/ | +6 | 0 replies | Applied |
| 8/8 | xfrm: esp: avoid in-place decrypt on shared skb fragsnet/ net/ net/ +1 more | +8 | 0 replies | Applied |
Reviews trailers per patch
1 of 8 patches has a Reviewed-by or Acked-by.
| Patch | Michal Kosiorek | Ruide Cao | Simon Horman | Hyunwoo Kim |
|---|---|---|---|---|
| 1/8 | T-b | R-b | ||
| 2/8 | ||||
| 3/8 | ||||
| 4/8 | ||||
| 5/8 | ||||
| 6/8 | ||||
| 7/8 | T-b | |||
| 8/8 | T-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.
Cover letter [PATCH 0/8] pull request (net): ipsec 2026-05-05
1. Fix an IPv6 encapsulation error path that leaked route references when UDPv6 ESP decapsulation resolved to an error route. From Yilin Zhu.
2. Fix AH with ESN on async crypto paths by accounting for the extra high-order sequence number when reconstructing the temporary authentication layout in the completion callbacks. From Michael Bomarito.
3. Fix XFRM output so it does not overwrite already-correct inner header pointers when a tunnel layer such as VXLAN has already saved them. The fix comes with new selftests. From Cosmin Ratiu.
4. Add the missing native payload size entry for XFRM_MSG_MAPPING in the compat translation path. From Ruijie Li.
5. Harden __xfrm_state_delete() against repeated or inconsistent unhashing of state list nodes by keying the removal on actual list membership and using delete-and-init helpers. From Michal Kosiorek.
6. Prevent ESP from decrypting shared splice-backed skb fragments in place by marking UDP splice frags as shared and forcing copy-on-write in ESP input when needed. From Kuan-Ting Chen.
Please pull or let me know if there are problems.
Thanks!
The following changes since commit 1f5ffc672165ff851063a5fd044b727ab2517ae3:
Fix mismerge of the arm64 / timer-core interrupt handling changes (2026-04-14 23:03:02 -0700)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/klassert/ipsec.git tags/ipsec-2026-05-05
for you to fetch changes up to f4c50a4034e62ab75f1d5cdd191dd5f9c77fdff4:
xfrm: esp: avoid in-place decrypt on shared skb frags (2026-05-05 06:38:30 +0200)
----------------------------------------------------------------
ipsec-2026-05-05
----------------------------------------------------------------
Cosmin Ratiu (3):
tools/selftests: Use a sensible timeout value for iperf3 client tools/selftests: Add a VXLAN+IPsec traffic test
xfrm: Don't clobber inner headers when already set
Kuan-Ting Chen (1):
xfrm: esp: avoid in-place decrypt on shared skb frags
Michael Bommarito (1):
xfrm: ah: account for ESN high bits in async callbacks
Michal Kosiorek (1):
xfrm: defensively unhash xfrm_state lists in __xfrm_state_delete
Ruijie Li (1):
xfrm: provide message size for XFRM_MSG_MAPPING
Yilin Zhu (1):
ipv6: xfrm6: release dst on error in xfrm6_rcv_encap()
net/ipv4/ah4.c | 14 +- net/ipv4/esp4.c | 3 +- net/ipv4/ip_output.c | 2 + net/ipv6/ah6.c | 14 +- net/ipv6/esp6.c | 3 +- net/ipv6/ip6_output.c | 2 + net/ipv6/xfrm6_protocol.c | 4 +- net/xfrm/xfrm_output.c | 20 +- net/xfrm/xfrm_state.c | 12 +- net/xfrm/xfrm_user.c | 1 + tools/testing/selftests/drivers/net/hw/Makefile | 1 + tools/testing/selftests/drivers/net/hw/config | 5 + .../selftests/drivers/net/hw/ipsec_vxlan.py | 204 +++++++++++++++++++++ tools/testing/selftests/drivers/net/lib/py/load.py | 5 +- 14 files changed, 270 insertions(+), 20 deletions(-) create mode 100755 tools/testing/selftests/drivers/net/hw/ipsec_vxlan.py