Skip to content

pull request (net): ipsec 2023-10-17

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/7net: xfrm: skip policies marked as dead while reinserting policiesnet/xfrm/xfrm_policy.c+13 -60 repliesApplied
2/7xfrm: interface: use DEV_STATS_INC()net/xfrm/xfrm_interface_core.c+10 -120 repliesApplied
3/7xfrm: fix a data-race in xfrm_gen_index()include/net/netns/xfrm.h net/xfrm/xfrm_policy.c+3 -40 repliesApplied
4/7xfrm6: fix inet6_dev refcount underflow problemnet/ipv6/xfrm6_policy.c+2 -20 repliesApplied
5/7net: ipv6: fix return value check in esp_remove_trailernet/ipv6/esp6.c+3 -10 repliesApplied
6/7net: ipv4: fix return value check in esp_remove_trailernet/ipv4/esp4.c+3 -10 repliesApplied
7/7xfrm: fix a data-race in xfrm_lookup_with_ifid()net/xfrm/xfrm_policy.c+1 -10 repliesApplied

Reviews trailers per patch

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

PatchXin LongHerbert Xu
1/7
2/7
3/7A-b
4/7R-b
5/7
6/7
7/7

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/7] pull request (net): ipsec 2023-10-17

1) Fix a slab-use-after-free in xfrm_policy_inexact_list_reinsert. From Dong Chenchen.

2) Fix data-races in the xfrm interfaces dev->stats fields. From Eric Dumazet.

3) Fix a data-race in xfrm_gen_index.
From Eric Dumazet.

4) Fix an inet6_dev refcount underflow.
From Zhang Changzhong.

5) Check the return value of pskb_trim in esp_remove_trailer for esp4 and esp6. From Ma Ke.

6) Fix a data-race in xfrm_lookup_with_ifid.
From Eric Dumazet.

Please pull or let me know if there are problems.

Thanks!

The following changes since commit d3287e4038ca4f81e02067ab72d087af7224c68b:

Revert "net: macsec: preserve ingress frame ordering" (2023-09-05 10:56:55 +0200)

are available in the Git repository at:

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

for you to fetch changes up to de5724ca38fd5e442bae9c1fab31942b6544012d:

xfrm: fix a data-race in xfrm_lookup_with_ifid() (2023-10-13 07:57:27 +0200)

----------------------------------------------------------------
ipsec-2023-10-17

----------------------------------------------------------------
Dong Chenchen (1):
net: xfrm: skip policies marked as dead while reinserting policies

Eric Dumazet (3):
xfrm: interface: use DEV_STATS_INC()
xfrm: fix a data-race in xfrm_gen_index()
xfrm: fix a data-race in xfrm_lookup_with_ifid()

Ma Ke (2):
net: ipv6: fix return value check in esp_remove_trailer
net: ipv4: fix return value check in esp_remove_trailer

Zhang Changzhong (1):
xfrm6: fix inet6_dev refcount underflow problem

 include/net/netns/xfrm.h       |  1 +
 net/ipv4/esp4.c                |  4 +++-
 net/ipv6/esp6.c                |  4 +++-
 net/ipv6/xfrm6_policy.c        |  4 ++--
 net/xfrm/xfrm_interface_core.c | 22 ++++++++++------------
 net/xfrm/xfrm_policy.c         | 27 ++++++++++++++++-----------
 6 files changed, 35 insertions(+), 27 deletions(-)