Skip to content

RFC Fix bonding IPSec races

Cosmin Ratiu netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2xfrm: Add explicit offload_handle to some xfrm callbacksDocumentation/networking/xfrm_device.rst drivers/net/bonding/bond_main.c drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c +10 more+159 -950 replies
2/2bonding: Maintain offloaded xfrm on all devicesdrivers/net/bonding/bond_main.c include/net/bonding.h+164 -1411 reply

Reviews trailers per patch

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

Read the v1 thread

Cover letter [RFC PATCH ipsec 0/2] Fix bonding IPSec races

These patches are an alternate proposed fix to the bonding IPSec races which could result in unencrypted IPSec packets on the wire. I'm sending them as RFC based on the discussion with Sabrina on the primary approach [1].

[1] https://lore.kernel.org/netdev/[email protected]/T/#u

Cosmin Ratiu (2):
xfrm: Add explicit offload_handle to some xfrm callbacks
bonding: Maintain offloaded xfrm on all devices

 Documentation/networking/xfrm_device.rst      |  13 +-
 drivers/net/bonding/bond_main.c               | 284 ++++++++++--------
 .../net/ethernet/chelsio/cxgb4/cxgb4_main.c   |  20 +-
 .../inline_crypto/ch_ipsec/chcr_ipsec.c       |  25 +-
 .../net/ethernet/intel/ixgbe/ixgbe_ipsec.c    |  47 +--
 drivers/net/ethernet/intel/ixgbevf/ipsec.c    |  18 +-
 .../marvell/octeontx2/nic/cn10k_ipsec.c       |  13 +-
 .../mellanox/mlx5/core/en_accel/ipsec.c       |  26 +-
 .../net/ethernet/netronome/nfp/crypto/ipsec.c |  10 +-
 drivers/net/netdevsim/ipsec.c                 |   8 +-
 include/linux/netdevice.h                     |   7 +-
 include/net/bonding.h                         |  22 +-
 net/xfrm/xfrm_device.c                        |   3 +-
 net/xfrm/xfrm_state.c                         |   7 +-
 14 files changed, 295 insertions(+), 208 deletions(-)
Signature · 1 line
2.45.0