All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH ipsec v3 0/2] xfrm: Correct inner packet family determination
@ 2025-10-28  2:22 Jianbo Liu
  2025-10-28  2:22 ` [PATCH ipsec v3 1/2] xfrm: Check inner packet family directly from skb_dst Jianbo Liu
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Jianbo Liu @ 2025-10-28  2:22 UTC (permalink / raw)
  To: netdev, davem, kuba, steffen.klassert, sd; +Cc: Jianbo Liu

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


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

end of thread, other threads:[~2025-11-01 12:29 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-28  2:22 [PATCH ipsec v3 0/2] xfrm: Correct inner packet family determination Jianbo Liu
2025-10-28  2:22 ` [PATCH ipsec v3 1/2] xfrm: Check inner packet family directly from skb_dst Jianbo Liu
2025-10-28 14:27   ` Zhu Yanjun
2025-10-28  2:22 ` [PATCH ipsec v3 2/2] xfrm: Determine inner GSO type from packet inner protocol Jianbo Liu
2025-10-28 11:03   ` Sabrina Dubroca
2025-10-28 13:36     ` Jianbo Liu
2025-10-28 15:04       ` Sabrina Dubroca
2025-10-30  8:08         ` Steffen Klassert
2025-10-30  8:35           ` Jianbo Liu
2025-10-30 10:28           ` Sabrina Dubroca
2025-11-01 12:29 ` [PATCH ipsec v3 0/2] xfrm: Correct inner packet family determination Steffen Klassert

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.