Skip to content

Small IPsec fix

Fan Du netdev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 2 repliesIn review
  2. v13 patches 0 repliesSuperseded

Changes in v2 from the cover letter

xfrm: Namespacify xfrm state/policy locks
-Fix compile error when CONFIG_NET_NS is unset, thanks for the lovely build robot.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3xfrm: Try to honor policy index if it's supplied by usernet/xfrm/xfrm_policy.c net/xfrm/xfrm_user.c+20 -60 replies
2/3xfrm: Using the right namespace to migrate key infoinclude/net/xfrm.h net/key/af_key.c net/xfrm/xfrm_policy.c +1 more+10 -80 replies
3/3xfrm: Namespacify xfrm state/policy locksinclude/net/netns/xfrm.h include/net/xfrm.h net/key/af_key.c +3 more+138 -1140 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCHv2 net-next 0/3] Small IPsec fix

Hi

This patchset made below modifications:
- Fix setting policy index with "ip xfrm ... index=xx" which is currently broken

- Using correct name space for home agent when migrating key info.

- Put xfrm locks into per namespace to improve scalability.

Changelog:
v2:
xfrm: Namespacify xfrm state/policy locks
-Fix compile error when CONFIG_NET_NS is unset, thanks for the lovely build robot.

Fan Du (3):
xfrm: Try to honor policy index if it's supplied by user
xfrm: Using the right namespace to migrate key info
xfrm: Namespacify xfrm state/policy locks

 include/net/netns/xfrm.h |    4 ++
 include/net/xfrm.h       |   13 +++--
 net/key/af_key.c         |   18 ++++---
 net/xfrm/xfrm_policy.c   |  130 +++++++++++++++++++++++++---------------------
 net/xfrm/xfrm_state.c    |  104 +++++++++++++++++++------------------
 net/xfrm/xfrm_user.c     |   27 +++++++---
 6 files changed, 168 insertions(+), 128 deletions(-)
Signature · 1 line
1.7.9.5