linux/drivers/net
Jianbo Liu 011be342dd net/mlx5e: Skip ESN replay window setup for IPsec crypto offload
Commit a5e400a985 ("net/mlx5e: Honor user choice of IPsec replay
window size") introduced logic to setup the ESN replay window size.
This logic is only valid for packet offload.

However, the check to skip this block only covered outbound offloads.
It was not skipped for crypto offload, causing it to fall through to
the new switch statement and trigger its WARN_ON default case (for
instance, if a window larger than 256 bits was configured).

Fix this by amending the condition to also skip the replay window
setup if the offload type is not XFRM_DEV_OFFLOAD_PACKET.

Fixes: a5e400a985 ("net/mlx5e: Honor user choice of IPsec replay window size")
Signed-off-by: Jianbo Liu <jianbol@nvidia.com>
Reviewed-by: Leon Romanovsky <leonro@nvidia.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Link: https://patch.msgid.link/1769503961-124173-5-git-send-email-tariqt@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2026-01-28 20:51:29 -08:00
..
arcnet
bonding bonding: fix use-after-free due to enslave fail after slave array update 2026-01-27 15:17:47 +01:00
caif
can can: gs_usb: gs_usb_receive_bulk_callback(): fix error message 2026-01-23 18:16:37 +01:00
dsa net: dsa: yt921x: Fix MIB overflow wraparound routine 2026-01-25 15:16:01 -08:00
ethernet net/mlx5e: Skip ESN replay window setup for IPsec crypto offload 2026-01-28 20:51:29 -08:00
fddi
fjes fjes: Add missing iounmap in fjes_hw_init() 2025-12-22 12:11:32 +01:00
hamradio
hippi
hyperv net: hv_netvsc: reject RSS hash key programming without RX indirection table 2026-01-13 19:07:31 -08:00
ieee802154
ipa net: ipa: Remove redundant pm_runtime_mark_last_busy() calls 2025-10-29 18:55:56 -07:00
ipvlan ipvlan: Make the addrs_lock be per port 2026-01-19 10:03:30 -08:00
mctp I3C for 6.19 2025-12-08 11:25:14 +09:00
mdio net: mdio: rtl9300: use scoped for loops 2025-12-28 08:55:48 +01:00
netdevsim netdevsim: fix a race issue related to the operation on bpf_bound_progs list 2026-01-20 17:18:52 +01:00
ovpn tools: ynl-gen: add regeneration comment 2025-11-25 19:20:42 -08:00
pcs net: pcs: pcs-mtk-lynxi: report in-band capability for 2500Base-X 2026-01-21 20:01:03 -08:00
phy net: phy: micrel: fix clk warning when removing the driver 2026-01-28 20:10:39 -08:00
plip
ppp net: Convert proto_ops connect() callbacks to use sockaddr_unsized 2025-11-04 19:10:32 -08:00
pse-pd net: pse-pd: tps23881: Add support for TPS23881B 2025-10-31 17:56:32 -07:00
slip
team team: fix check for port enabled in team_queue_override_port_prio_changed() 2025-12-23 09:07:48 +01:00
thunderbolt
usb usbnet: limit max_mtu based on device's hard_mtu 2026-01-20 18:58:54 -08:00
vmxnet3 net: vmxnet3: convert to use .get_rx_ring_count 2025-11-19 20:14:21 -08:00
vxlan Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2025-12-02 15:37:53 -08:00
wan Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2025-11-06 09:27:40 -08:00
wireguard Networking changes for 6.19. 2025-12-03 17:24:33 -08:00
wireless ath.git update for v6.19-rc6 2026-01-14 10:41:45 +01:00
wwan net: wwan: t7xx: fix potential skb->frags overflow in RX path 2026-01-25 14:43:32 -08:00
xen-netback
Kconfig
LICENSE.SRC
Makefile
Space.c
amt.c
bareudp.c
dummy.c
eql.c
geneve.c
gtp.c gtp: Fix a typo error for size 2025-11-04 17:00:43 -08:00
ifb.c
loopback.c
macsec.c
macvlan.c macvlan: fix possible UAF in macvlan_forward_source() 2026-01-09 18:16:06 -08:00
macvtap.c
mdio.c
mhi_net.c
mii.c
net_failover.c
netconsole.c netconsole: Increase MAX_USERDATA_ITEMS 2025-11-20 18:47:18 -08:00
netkit.c netkit: Document fast vs slowpath members via macros 2025-11-06 16:46:11 -08:00
nlmon.c
ntb_netdev.c
pfcp.c
rionet.c
sungem_phy.c net: sungem_phy: Fix a typo error in sungem_phy 2025-11-04 17:00:55 -08:00
tap.c
tun.c
tun_vnet.h virtio-net: avoid unnecessary checksum calculation on guest RX 2025-11-26 19:45:54 -08:00
veth.c veth: fix data race in veth_get_ethtool_stats 2026-01-17 16:22:18 -08:00
virtio_net.c virtio_net: Fix misalignment bug in struct virtnet_info 2026-01-15 10:18:42 +01:00
vrf.c
vsockmon.c
xen-netfront.c xen/netfront: Comment Correction: Fix Spelling Error and Description of Queue Quantity Rules 2025-11-04 17:01:01 -08:00