[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251028023013.9836-1-jianbol@nvidia.com>
Date: Tue, 28 Oct 2025 04:22:46 +0200
From: Jianbo Liu <jianbol@...dia.com>
To: <netdev@...r.kernel.org>, <davem@...emloft.net>, <kuba@...nel.org>,
<steffen.klassert@...unet.com>, <sd@...asysnail.net>
CC: Jianbo Liu <jianbol@...dia.com>
Subject: [PATCH ipsec v3 0/2] xfrm: Correct inner packet family determination
This series contains two patches addressing issues in the XFRM
subsystem where the code incorrectly relied on static family fields
from the xfrm_state instead of determining the family from the actual
packet being processed.
This was particularly problematic in tunnel mode scenarios when using
states that could handle different inner families.
V3:
- Change xfrm_ip2inner_mode for the sel family specified
V2:
- The original first patch was sent separately to "ipsec-next"
Jianbo Liu (2):
xfrm: Check inner packet family directly from skb_dst
xfrm: Determine inner GSO type from packet inner protocol
include/net/xfrm.h | 3 ++-
net/ipv4/esp4_offload.c | 6 ++++--
net/ipv6/esp6_offload.c | 6 ++++--
net/xfrm/xfrm_device.c | 2 +-
net/xfrm/xfrm_output.c | 2 +-
5 files changed, 12 insertions(+), 7 deletions(-)
--
2.49.0
Powered by blists - more mailing lists