Skip to content

pull request (net-next): ipsec-next 2023-10-28

Steffen Klassert netdev 1 version Applied

Status from this message: This series was applied to netdev/net-next.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: Remove unused function declarationsinclude/net/xfrm.h+0 -20 repliesApplied
2/10xfrm: Annotate struct xfrm_sec_ctx with __counted_byinclude/uapi/linux/xfrm.h+2 -10 repliesApplied
3/10xfrm: Use the XFRM_GRO to indicate a GRO call on inputnet/ipv4/esp4_offload.c net/ipv6/esp6_offload.c net/xfrm/xfrm_input.c+4 -60 repliesApplied
4/10xfrm: Support GRO for IPv4 ESP in UDP encapsulationinclude/net/gro.h include/net/xfrm.h net/ipv4/esp4_offload.c +2 more+98 -200 repliesApplied
5/10xfrm: Support GRO for IPv6 ESP in UDP encapsulationinclude/net/ipv6_stubs.h include/net/xfrm.h net/ipv4/udp.c +3 more+92 -200 repliesApplied
6/10xfrm: pass struct net to xfrm_decode_session wrappersinclude/net/xfrm.h net/ipv4/icmp.c net/ipv4/ip_vti.c +7 more+22 -220 repliesApplied
7/10xfrm: move mark and oif flowi decode into common codenet/xfrm/xfrm_policy.c+12 -120 repliesApplied
8/10xfrm: policy: replace session decode with flow dissectornet/xfrm/xfrm_policy.c+95 -1580 repliesApplied
9/10xfrm Fix use after free in __xfrm6_udp_encap_rcv.net/ipv4/xfrm4_input.c net/ipv6/xfrm6_input.c+8 -40 repliesApplied
10/10xfrm: policy: fix layer 4 flowi decodingnet/xfrm/xfrm_policy.c+20 -60 repliesApplied

Reviews trailers per patch

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

PatchGustavo A. R. SilvaEyal BirgerSimon HormanAntony Antony
1/10
2/10R-b
3/10R-b
4/10R-b
5/10R-b
6/10R-b
7/10R-b
8/10R-b
9/10
10/10Reported-and-tested-by

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-next): ipsec-next 2023-10-28

1) Remove unused function declarations of xfrm4_extract_input and xfrm6_extract_input. From Yue Haibing.

2) Annotate struct xfrm_sec_ctx with __counted_by. From Kees Cook.

3) Support GRO decapsulation for ESP in UDP encapsulation. From Antony Antony et all.

4) Replace the xfrm session decode with flow dissector. From Florian Westphal.

5) Fix a use after free in __xfrm6_udp_encap_rcv.

6) Fix the layer 4 flowi decoding.
From Florian Westphal.

Please pull or let me know if there are problems.

Thanks!

The following changes since commit 3a69ab875233734bc434402379100272cd70bde2:

Merge branch 'ionic-better-tx-sg=handling' (2023-09-20 10:52:31 +0100)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/klassert/ipsec-next.git tags/ipsec-next-2023-10-28

for you to fetch changes up to eefed7662ff223f70ba8b1af07f1a096a5ece588:

xfrm: policy: fix layer 4 flowi decoding (2023-10-27 10:12:09 +0200)

----------------------------------------------------------------
ipsec-next-2023-10-28

----------------------------------------------------------------
Florian Westphal (4):
xfrm: pass struct net to xfrm_decode_session wrappers
xfrm: move mark and oif flowi decode into common code
xfrm: policy: replace session decode with flow dissector
xfrm: policy: fix layer 4 flowi decoding

Kees Cook (1):
xfrm: Annotate struct xfrm_sec_ctx with __counted_by

Steffen Klassert (6):
xfrm: Use the XFRM_GRO to indicate a GRO call on input
xfrm: Support GRO for IPv4 ESP in UDP encapsulation
xfrm: Support GRO for IPv6 ESP in UDP encapsulation
Merge branch 'xfrm: Support GRO decapsulation for ESP in UDP encapsulation' Merge branch 'xfrm: policy: replace session decode with flow dissector' xfrm Fix use after free in __xfrm6_udp_encap_rcv.

Yue Haibing (1):
xfrm: Remove unused function declarations

 include/net/gro.h              |   2 +-
 include/net/ipv6_stubs.h       |   3 +
 include/net/xfrm.h             |  18 +--
 include/uapi/linux/xfrm.h      |   3 +-
 net/ipv4/esp4_offload.c        |   6 +-
 net/ipv4/icmp.c                |   2 +-
 net/ipv4/ip_vti.c              |   4 +-
 net/ipv4/netfilter.c           |   2 +-
 net/ipv4/udp.c                 |  16 +++
 net/ipv4/xfrm4_input.c         |  95 ++++++++++---
 net/ipv6/af_inet6.c            |   1 +
 net/ipv6/esp6_offload.c        |  10 +-
 net/ipv6/icmp.c                |   2 +-
 net/ipv6/ip6_vti.c             |   4 +-
 net/ipv6/netfilter.c           |   2 +-
 net/ipv6/xfrm6_input.c         | 103 +++++++++++---
 net/netfilter/nf_nat_proto.c   |   2 +-
 net/xfrm/xfrm_input.c          |   6 +-
 net/xfrm/xfrm_interface_core.c |   4 +-
 net/xfrm/xfrm_policy.c         | 299 +++++++++++++++++------------------------
 20 files changed, 343 insertions(+), 241 deletions(-)