Skip to content

pull request (net): ipsec 2024-07-11

Steffen Klassert netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7net: esp: cleanup esp_output_tail_tcp() in case of unsupported ESPINTCPnet/ipv4/esp4.c net/ipv6/esp6.c+2 -40 replies
2/7xfrm: Fix input error path memory accessnet/xfrm/xfrm_input.c+3 -00 replies
3/7xfrm: Log input direction mismatch error in one placenet/ipv4/esp4_offload.c net/ipv6/esp6_offload.c net/xfrm/xfrm_input.c+14 -50 replies
4/7xfrm: Fix unregister netdevice hang on hardware offload.include/net/xfrm.h net/xfrm/xfrm_state.c+69 -280 replies
5/7xfrm: Export symbol xfrm_dev_state_delete.net/xfrm/xfrm_state.c+1 -00 replies
6/7xfrm: fix netdev reference count imbalancenet/xfrm/xfrm_state.c+1 -20 replies
7/7xfrm: call xfrm_dev_policy_delete when kill policynet/xfrm/xfrm_policy.c net/xfrm/xfrm_user.c+2 -40 replies

Reviews trailers per patch

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

PatchSimon HormanLeon RomanovskyCosmin Ratiu
1/7
2/7R-b
3/7R-b
4/7
5/7T-b
6/7R-b
7/7R-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 v1 thread

Cover letter [PATCH 0/7] pull request (net): ipsec 2024-07-11

1) Fix esp_output_tail_tcp() on unsupported ESPINTCP. From Hagar Hemdan.

2) Fix two bugs in the recently introduced SA direction separation. From Antony Antony.

3) Fix unregister netdevice hang on hardware offload. We had to add another list where skbs linked to that are unlinked from the lists (deleted) but not yet freed.

4) Fix netdev reference count imbalance in xfrm_state_find. From Jianbo Liu.

5) Call xfrm_dev_policy_delete when killingi them on offloaded policies. Jianbo Liu.

Please pull or let me know if there are problems.

Thanks!

The following changes since commit 9c91c7fadb1771dcc2815c5271d14566366d05c5:

net: mana: Fix the extra HZ in mana_hwc_send_request (2024-05-22 11:17:07 +0200)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/klassert/ipsec.git tags/ipsec-2024-07-11

for you to fetch changes up to 89a2aefe4b084686c2ffc1ee939585111ea4fc0f:

xfrm: call xfrm_dev_policy_delete when kill policy (2024-07-08 13:24:13 +0200)

----------------------------------------------------------------
ipsec-2024-07-11

----------------------------------------------------------------
Antony Antony (2):
xfrm: Fix input error path memory access
xfrm: Log input direction mismatch error in one place

Hagar Hemdan (1):
net: esp: cleanup esp_output_tail_tcp() in case of unsupported ESPINTCP

Jianbo Liu (2):
xfrm: fix netdev reference count imbalance
xfrm: call xfrm_dev_policy_delete when kill policy

Steffen Klassert (2):
xfrm: Fix unregister netdevice hang on hardware offload.
xfrm: Export symbol xfrm_dev_state_delete.

 include/net/xfrm.h      | 36 ++++++++-------------------
 net/ipv4/esp4.c         |  3 +--
 net/ipv4/esp4_offload.c |  7 ++++++
 net/ipv6/esp6.c         |  3 +--
 net/ipv6/esp6_offload.c |  7 ++++++
 net/xfrm/xfrm_input.c   |  8 +++---
 net/xfrm/xfrm_policy.c  |  5 ++--
 net/xfrm/xfrm_state.c   | 65 ++++++++++++++++++++++++++++++++++++++++++++++---
 net/xfrm/xfrm_user.c    |  1 -
 9 files changed, 92 insertions(+), 43 deletions(-)