Skip to content

pull request (net): ipsec 2023-06-20

Steffen Klassert netdev 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6xfrm: Treat already-verified secpath entries as optionalinclude/net/xfrm.h net/xfrm/xfrm_input.c net/xfrm/xfrm_policy.c+14 -00 replies
2/6xfrm: Ensure policies always checked on XFRM-I input pathnet/xfrm/xfrm_interface_core.c+50 -40 replies
3/6xfrm: add missed call to delete offloaded policiesnet/xfrm/xfrm_policy.c+2 -00 replies
4/6xfrm: fix inbound ipv4/udp/esp packets to UDPv6 dualstack socketsnet/ipv4/xfrm4_input.c net/ipv6/xfrm6_input.c+4 -00 replies
5/6xfrm: Use xfrm_state selector for BEET inputnet/xfrm/xfrm_input.c+3 -40 replies
6/6xfrm: Linearize the skb after offloading if needed.net/ipv4/esp4_offload.c net/ipv6/esp6_offload.c+6 -00 replies

Reviews trailers per patch

2 of 6 patches have a Reviewed-by or Acked-by.

PatchSimon HormanSabrina Dubroca
1/6
2/6
3/6R-b
4/6R-b R-b
5/6
6/6

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

Read the v1 thread

Cover letter [PATCH 0/6] pull request (net): ipsec 2023-06-20

1) Treat already-verified secpath entries as optional to fix nested IPsec tunnels with xfrm interfaces. Fix from Benedict Wong.

2) Make sure that policies always checked on the input path with xfrm interfaces. Fix from Benedict Wong.

3) Add missing calls to delete offloaded policies. Fix from Leon Romanovsky.

4) Fix inbound ipv4/udp/esp packets to UDPv6 dualstack sockets. We need to make sure to call the handler of the correct address family.
Fix from Maciej Żenczykowski.

5) Use the address faqmily from the xfrm_state selector for BEET mode input.
Fix from Herbert Xu.

6) Linearize the skb after offloading if needed. This was forgotten when the ESP software GRO codepath was created. Fix from Sebastian Andrzej Siewior.

Please pull or let me know if there are problems.

Thanks!

The following changes since commit 67caf26d769e0cb17dba182b0acae015c7aa5881:

Merge tag 'for-net-2023-05-19' of git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth (2023-05-19 22:48:26 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/klassert/ipsec.git tags/ipsec-2023-06-20

for you to fetch changes up to f015b900bc3285322029b4a7d132d6aeb0e51857:

xfrm: Linearize the skb after offloading if needed. (2023-06-16 10:29:50 +0200)

----------------------------------------------------------------
ipsec-2023-06-20

----------------------------------------------------------------
Benedict Wong (2):
xfrm: Treat already-verified secpath entries as optional
xfrm: Ensure policies always checked on XFRM-I input path

Herbert Xu (1):
xfrm: Use xfrm_state selector for BEET input

Leon Romanovsky (1):
xfrm: add missed call to delete offloaded policies

Maciej Żenczykowski (1):
xfrm: fix inbound ipv4/udp/esp packets to UDPv6 dualstack sockets

Sebastian Andrzej Siewior (1):
xfrm: Linearize the skb after offloading if needed.

 include/net/xfrm.h             |  1 +
 net/ipv4/esp4_offload.c        |  3 +++
 net/ipv4/xfrm4_input.c         |  1 +
 net/ipv6/esp6_offload.c        |  3 +++
 net/ipv6/xfrm6_input.c         |  3 +++
 net/xfrm/xfrm_input.c          |  8 +++----
 net/xfrm/xfrm_interface_core.c | 54 ++++++++++++++++++++++++++++++++++++++----
 net/xfrm/xfrm_policy.c         | 14 +++++++++++
 8 files changed, 79 insertions(+), 8 deletions(-)