Netdev List
 help / color / mirror / Atom feed
* [PATCH net v5 0/2] xfrm: fix IPv6 atomic fragment policy handling
@ 2026-11-11 23:18 Jérémy Jean
  2026-11-11 23:18 ` [PATCH net v5 1/2] xfrm: fix IPv6 first-fragment protocol decode Jérémy Jean
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Jérémy Jean @ 2026-11-11 23:18 UTC (permalink / raw)
  To: Steffen Klassert, Herbert Xu, David S. Miller, David Ahern,
	Ido Schimmel
  Cc: netdev, linux-kernel, Jérémy Jean

This series fixes two IPv6 fragment issues in XFRM session decoding.

Patch 1 restores upper-layer protocol decoding for first fragments.
Patch 2 restores ports, ICMPv6 type and code, and GRE keys for atomic
fragments, while leaving them unset for real fragments.

Changes in v5 after a review from Sashiko:
- Patch 1: unchanged.
- Patch 2: use the IPv6 walk offset for transport headers before
  skb->data, preserve flow-dissector offsets otherwise.

Jérémy Jean (2):
  xfrm: fix IPv6 first-fragment protocol decode
  xfrm: fix selector matching for IPv6 atomic fragments

 include/net/ipv6.h      |  1 +
 net/ipv6/exthdrs_core.c | 25 ++++++++++---------
 net/xfrm/xfrm_policy.c  | 54 ++++++++++++++++++++++++++++++-----------
 3 files changed, 54 insertions(+), 26 deletions(-)

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

end of thread, other threads:[~2026-11-11 23:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-11 23:18 [PATCH net v5 0/2] xfrm: fix IPv6 atomic fragment policy handling Jérémy Jean
2026-11-11 23:18 ` [PATCH net v5 1/2] xfrm: fix IPv6 first-fragment protocol decode Jérémy Jean
2026-11-11 23:18 ` [PATCH net v5 2/2] xfrm: fix selector matching for IPv6 atomic fragments Jérémy Jean
2026-11-11 23:27 ` [PATCH net v5 0/2] xfrm: fix IPv6 atomic fragment policy handling netdev-bot+sinfo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox