From: "Jérémy Jean" <Jeremy.Jean@oss.cyber.gouv.fr>
To: Steffen Klassert <steffen.klassert@secunet.com>,
Herbert Xu <herbert@gondor.apana.org.au>,
"David S. Miller" <davem@davemloft.net>,
David Ahern <dsahern@kernel.org>,
Ido Schimmel <idosch@nvidia.com>
Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org,
"Jérémy Jean" <Jeremy.Jean@oss.cyber.gouv.fr>
Subject: [PATCH net v3 0/2] xfrm: fix IPv6 atomic fragment policy handling
Date: Fri, 6 Nov 2026 20:29:04 +0000 [thread overview]
Message-ID: <20261106202910.723098-2-Jeremy.Jean@oss.cyber.gouv.fr> (raw)
This series of two patches fixes two IPv6 atomic fragment issues in
XFRM session decoding.
Patch 1 restores upper-layer protocol decoding for IPv6 first
fragments.
Patch 2 builds on Patch 1 and restores selector fields for IPv6 atomic
fragments, while leaving them unset for real fragments.
Changes in v2 after a review from Sashiko:
- Patch 1: Leave ports unset for fragments with BPF flow dissectors.
- Patch 2: Include the atomic fragment selector fix.
Changes in v3 after a revew from Sashiko:
- Patch 1: unchanged.
- Patch 2: Safely detect atomic fragments.
v1: https://lore.kernel.org/all/20261101230745.2043474-2-Jeremy.Jean@oss.cyber.gouv.fr/
Sashiko on v1: https://netdev-ai.bots.linux.dev/sashiko/#/patchset/20261101230745.2043474-2-Jeremy.Jean%40oss.cyber.gouv.fr
Sashiko on v2: https://sashiko.dev/#/patchset/20261103225842.3204446-2-Jeremy.Jean%40oss.cyber.gouv.fr
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 | 6 ++++-
net/xfrm/xfrm_policy.c | 52 ++++++++++++++++++++++++++++++-----------
3 files changed, 44 insertions(+), 15 deletions(-)
--
2.47.3
next reply other threads:[~2026-11-06 20:29 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-06 20:29 Jérémy Jean [this message]
2026-11-06 20:29 ` [PATCH net v3 1/2] xfrm: fix IPv6 first-fragment protocol decode Jérémy Jean
2026-11-06 20:29 ` [PATCH net v3 2/2] xfrm: fix selector matching for IPv6 atomic fragments Jérémy Jean
2026-11-07 21:06 ` netdev-bot+sashiko
2026-11-06 20:32 ` [PATCH net v3 0/2] xfrm: fix IPv6 atomic fragment policy handling netdev-bot+sinfo
2026-11-10 7:21 ` [syzbot ci] " syzbot ci
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261106202910.723098-2-Jeremy.Jean@oss.cyber.gouv.fr \
--to=jeremy.jean@oss.cyber.gouv.fr \
--cc=davem@davemloft.net \
--cc=dsahern@kernel.org \
--cc=herbert@gondor.apana.org.au \
--cc=idosch@nvidia.com \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=steffen.klassert@secunet.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®