Skip to content

pull request (net-next): ipsec-next 2024-11-15

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 Latest11 patches 2 repliesApplied 11/11

Patches in v1 All 11 applied

#Subject and filesSizeRepliesApplied
1/11xfrm: Add support for per cpu xfrm state handling.include/net/xfrm.h include/uapi/linux/xfrm.h net/key/af_key.c +3 more+112 -222 repliesApplied
2/11xfrm: Cache used outbound xfrm states at the policy.include/net/xfrm.h net/xfrm/xfrm_policy.c net/xfrm/xfrm_state.c+71 -00 repliesApplied
3/11xfrm: Add an inbound percpu state cache.include/net/netns/xfrm.h include/net/xfrm.h net/ipv4/esp4_offload.c +3 more+70 -70 repliesApplied
4/11xfrm: Restrict percpu SA attribute to specific netlink message typesnet/xfrm/xfrm_user.c+14 -00 repliesApplied
5/11xfrm: Convert xfrm_get_tos() to dscp_t.net/xfrm/xfrm_policy.c+3 -30 repliesApplied
6/11xfrm: Convert xfrm_bundle_create() to dscp_t.net/xfrm/xfrm_policy.c+4 -30 repliesApplied
7/11xfrm: Convert xfrm_dst_lookup() to dscp_t.net/xfrm/xfrm_policy.c+4 -50 repliesApplied
8/11xfrm: Convert struct xfrm_dst_lookup_params -> tos to dscp_t.include/net/xfrm.h net/ipv4/xfrm4_policy.c net/xfrm/xfrm_policy.c+5 -30 repliesApplied
9/11xfrm: Add error handling when nla_put_u32() returns an errornet/xfrm/xfrm_user.c+4 -10 repliesApplied
10/11xfrm: replace deprecated strncpy with strscpy_padnet/xfrm/xfrm_user.c+1 -10 repliesApplied
11/11xfrm: Fix acquire state insertion.net/xfrm/xfrm_state.c+1 -00 repliesApplied

Reviews trailers per patch

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

PatchAntony AntonyTobias BrunnerIdo SchimmelSimon HormanPrzemek Kitszel
1/11T-b T-b
2/11T-b T-b
3/11T-b T-b
4/11T-b T-b
5/11R-b
6/11R-b
7/11R-b
8/11R-b
9/11R-b R-b
10/11
11/11R-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 5 reviewers.

Read the v1 thread

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

1) Add support for RFC 9611 per cpu xfrm state handling.

2) Add inbound and outbound xfrm state caches to speed up state lookups.

3) Convert xfrm to dscp_t. From Guillaume Nault.

4) Fix error handling in build_aevent.
From Everest K.C.

5) Replace strncpy with strscpy_pad in copy_to_user_auth. From Daniel Yang.

6) Fix an uninitialized symbol during acquire state insertion.

Please pull or let me know if there are problems.

Thanks!

The following changes since commit ab101c553bc1f76a839163d1dc0d1e715ad6bb4e:

neighbour: use kvzalloc()/kvfree() (2024-10-28 18:12:06 -0700)

are available in the Git repository at:

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

for you to fetch changes up to a35672819f8d85e2ae38b80d40b923e3ef81e4ea:

xfrm: Fix acquire state insertion. (2024-11-15 07:25:14 +0100)

----------------------------------------------------------------
ipsec-next-2024-11-15

----------------------------------------------------------------
Daniel Yang (1):
xfrm: replace deprecated strncpy with strscpy_pad

Everest K.C (1):
xfrm: Add error handling when nla_put_u32() returns an error

Guillaume Nault (4):
xfrm: Convert xfrm_get_tos() to dscp_t.
xfrm: Convert xfrm_bundle_create() to dscp_t.
xfrm: Convert xfrm_dst_lookup() to dscp_t.
xfrm: Convert struct xfrm_dst_lookup_params -> tos to dscp_t.

Steffen Klassert (6):
xfrm: Add support for per cpu xfrm state handling.
xfrm: Cache used outbound xfrm states at the policy.
xfrm: Add an inbound percpu state cache.
xfrm: Restrict percpu SA attribute to specific netlink message types Merge branch 'xfrm: Convert __xfrm4_dst_lookup() and its callers to dscp_t.'
xfrm: Fix acquire state insertion.

 include/net/netns/xfrm.h  |   1 +
 include/net/xfrm.h        |  17 ++++-
 include/uapi/linux/xfrm.h |   2 +
 net/ipv4/esp4_offload.c   |   6 +-
 net/ipv4/xfrm4_policy.c   |   3 +-
 net/ipv6/esp6_offload.c   |   6 +-
 net/key/af_key.c          |   7 +-
 net/xfrm/xfrm_compat.c    |   6 +-
 net/xfrm/xfrm_input.c     |   2 +-
 net/xfrm/xfrm_policy.c    |  28 +++++---
 net/xfrm/xfrm_state.c     | 171 +++++++++++++++++++++++++++++++++++++++++++---
 net/xfrm/xfrm_user.c      |  75 ++++++++++++++++++--
 12 files changed, 284 insertions(+), 40 deletions(-)