Skip to content

Update offload configuration with SA

Chiachang Wang netdev 5 versions – Applied

Status from this message: Applied, thanks a lot Chiachang!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest2 patches 5 repliesApplied
  2. v42 patches 4 repliesSuperseded
  3. v31 patch 3 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v21 patch1 replySuperseded
v12 patches3 repliesSuperseded

Changes in v5 from the cover letter

- Remove redundant xfrm_migrate pointer validation in the xfrm_state_clone_and_setup() method

Patches in v5 Applied

#Subject and filesSizeRepliesApplied
1/2xfrm: Migrate offload configurationinclude/net/xfrm.h net/key/af_key.c net/xfrm/xfrm_policy.c +2 more+29 -91 reply
2/2xfrm: Refactor migration setup during the cloning processnet/xfrm/xfrm_state.c+9 -81 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchLeon Romanovsky
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v5 thread

Cover letter [PATCH ipsec-next v5 0/2] Update offload configuration with SA

The current Security Association (SA) offload setting cannot be modified without removing and re-adding the SA with the new configuration. Although existing netlink messages allow SA migration, the offload setting will be removed after migration.

This patchset enhances SA migration to include updating the offload setting. This is beneficial for devices that support IPsec session management.

Chiachang Wang (2):
xfrm: Migrate offload configuration
xfrm: Refactor migration setup during the cloning process

 include/net/xfrm.h     |  8 ++++++--
 net/key/af_key.c       |  2 +-
 net/xfrm/xfrm_policy.c |  4 ++--
 net/xfrm/xfrm_state.c  | 24 ++++++++++++++++--------
 net/xfrm/xfrm_user.c   | 15 ++++++++++++---
 5 files changed, 37 insertions(+), 16 deletions(-)

---
v4 -> v5:
- Remove redundant xfrm_migrate pointer validation in the xfrm_state_clone_and_setup() method
v3 -> v4:
- Change the target tree to ipsec-next
- Rebase commit to adopt updated xfrm_init_state()
- Remove redundant variable to rely on validiaty of pointer
- Refactor xfrm_migrate copy into xfrm_state_clone and rename the method
v2 -> v3:
- Update af_key.c to address kbuild error
v1 -> v2:
- Revert "xfrm: Update offload configuration during SA update" change as the patch can be protentially handled in the hardware without the change.
- Address review feedback to correct the logic in the xfrm_state_migrate in the migration offload configuration change.
- Revise the commit message for "xfrm: Migrate offload configuration"
--
2.49.0.rc1.451.g8f38331e32-goog