netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH ipsec 0/2] Fix bonding IPSec races
@ 2025-11-21 15:16 Cosmin Ratiu
  2025-11-21 15:16 ` [RFC PATCH ipsec 1/2] xfrm: Add explicit offload_handle to some xfrm callbacks Cosmin Ratiu
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Cosmin Ratiu @ 2025-11-21 15:16 UTC (permalink / raw)
  To: netdev
  Cc: Jay Vosburgh, Andrew Lunn, David S. Miller, Eric Dumazet,
	Jakub Kicinski, Paolo Abeni, Simon Horman, Taehee Yoo, Jianbo Liu,
	Sabrina Dubroca, Steffen Klassert, Herbert Xu, Leon Romanovsky,
	Cosmin Ratiu

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/20251113104310.1243150-1-cratiu@nvidia.com/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(-)

-- 
2.45.0


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-12-05  3:49 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-21 15:16 [RFC PATCH ipsec 0/2] Fix bonding IPSec races Cosmin Ratiu
2025-11-21 15:16 ` [RFC PATCH ipsec 1/2] xfrm: Add explicit offload_handle to some xfrm callbacks Cosmin Ratiu
2025-11-21 15:16 ` [RFC PATCH ipsec 2/2] bonding: Maintain offloaded xfrm on all devices Cosmin Ratiu
2025-12-05  3:48   ` Hangbin Liu
2025-12-01  9:01 ` [RFC PATCH ipsec 0/2] Fix bonding IPSec races Steffen Klassert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).