Skip to content

pull request (net): ipsec 2023-05-16

Steffen Klassert netdev 1 version Applied

Status from this message: This series was applied to netdev/net.git (main)

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 0 repliesApplied 7/7

Patches in v1 All 7 applied

#Subject and filesSizeRepliesApplied
1/7xfrm: don't check the default policy if the policy allows the packetnet/xfrm/xfrm_policy.c+0 -60 repliesApplied
2/7xfrm: release all offloaded policy memorynet/xfrm/xfrm_user.c+1 -00 repliesApplied
3/7xfrm: Fix leak of dev trackernet/xfrm/xfrm_device.c+1 -10 repliesApplied
4/7Revert "Fix XFRM-I support for nested ESP tunnels"net/xfrm/xfrm_interface_core.c net/xfrm/xfrm_policy.c+4 -530 repliesApplied
5/7xfrm: Reject optional tunnel/BEET mode templates in outbound policiesnet/xfrm/xfrm_user.c+9 -50 repliesApplied
6/7af_key: Reject optional tunnel/BEET mode templates in outbound policiesnet/key/af_key.c+8 -40 repliesApplied
7/7xfrm: Check if_id in inbound policy/secpath matchnet/xfrm/xfrm_policy.c+6 -50 repliesApplied

Reviews trailers per patch

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

PatchSimon HormanEric DumazetHerbert Xu
1/7
2/7R-b R-b
3/7R-b R-b
4/7
5/7A-b
6/7A-b
7/7

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 2023-05-16

1) Don't check the policy default if we have an allow policy. Fix from Sabrina Dubroca.

2) Fix netdevice refount usage on offload.
From Leon Romanovsky.

3) Use netdev_put instead of dev_puti to correctly release the netdev on failure in xfrm_dev_policy_add. From Leon Romanovsky.

4) Revert "Fix XFRM-I support for nested ESP tunnels" This broke Netfilter policy matching.
From Martin Willi.

5) Reject optional tunnel/BEET mode templates in outbound policies on netlink and pfkey sockets. From Tobias Brunner.

6) Check if_id in inbound policy/secpath match to make it symetric to the outbound codepath.
From Benedict Wong.

Please pull or let me know if there are problems.

Thanks!

The following changes since commit 24e3fce00c0b557491ff596c0682a29dee6fe848:

net: stmmac: Add queue reset into stmmac_xdp_open() function (2023-04-05 19:02:56 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/klassert/ipsec.git tags/ipsec-2023-05-16

for you to fetch changes up to 8680407b6f8f5fba59e8f1d63c869abc280f04df:

xfrm: Check if_id in inbound policy/secpath match (2023-05-10 07:56:05 +0200)

----------------------------------------------------------------
ipsec-2023-05-16

----------------------------------------------------------------
Benedict Wong (1):
xfrm: Check if_id in inbound policy/secpath match

Leon Romanovsky (2):
xfrm: release all offloaded policy memory
xfrm: Fix leak of dev tracker

Martin Willi (1):
Revert "Fix XFRM-I support for nested ESP tunnels"

Sabrina Dubroca (1):
xfrm: don't check the default policy if the policy allows the packet

Tobias Brunner (2):
xfrm: Reject optional tunnel/BEET mode templates in outbound policies
af_key: Reject optional tunnel/BEET mode templates in outbound policies

 net/key/af_key.c               | 12 ++++++----
 net/xfrm/xfrm_device.c         |  2 +-
 net/xfrm/xfrm_interface_core.c | 54 ++++--------------------------------------
 net/xfrm/xfrm_policy.c         | 20 +++++-----------
 net/xfrm/xfrm_user.c           | 15 ++++++++----
 5 files changed, 29 insertions(+), 74 deletions(-)