[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251121151644.1797728-1-cratiu@nvidia.com>
Date: Fri, 21 Nov 2025 17:16:42 +0200
From: Cosmin Ratiu <cratiu@...dia.com>
To: <netdev@...r.kernel.org>
CC: Jay Vosburgh <jv@...sburgh.net>, Andrew Lunn <andrew+netdev@...n.ch>,
"David S. Miller" <davem@...emloft.net>, Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>, "Simon
Horman" <horms@...nel.org>, Taehee Yoo <ap420073@...il.com>, Jianbo Liu
<jianbol@...dia.com>, Sabrina Dubroca <sd@...asysnail.net>, Steffen Klassert
<steffen.klassert@...unet.com>, Herbert Xu <herbert@...dor.apana.org.au>,
Leon Romanovsky <leonro@...dia.com>, Cosmin Ratiu <cratiu@...dia.com>
Subject: [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/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
Powered by blists - more mailing lists