All of lore.kernel.org
 help / color / mirror / Atom feed
From: Steffen Klassert <steffen.klassert@secunet.com>
To: Zihan Xi <zihanx@nebusec.ai>
Cc: <netdev@vger.kernel.org>, <ipsec@lists.linux.dev>,
	<herbert@gondor.apana.org.au>, <davem@davemloft.net>,
	<edumazet@kernel.org>, <pabeni@redhat.com>, <horms@kernel.org>,
	<sd@queasysnail.net>, <vega@nebusec.ai>
Subject: Re: [PATCH net 1/1] xfrm: espintcp: select receive path by skb protocol
Date: Fri, 27 Nov 2026 10:21:38 +0100	[thread overview]
Message-ID: <awlLogRS02zbcZJL@gauss4> (raw)
In-Reply-To: <20261116155229.318582-2-zihanx@nebusec.ai>

On Mon, Nov 16, 2026 at 03:52:29PM +0000, Zihan Xi wrote:
> An IPv6 socket can accept an IPv4 connection through a v4-mapped
> address. Such a socket still receives IPv4 skbs, but espintcp selected
> the XFRM receive path from the socket family.
> 
> Use the skb protocol when selecting the receive path so IPv4 packets are
> not passed to the IPv6 XFRM parser.
> 
> Fixes: 26333c37fc28 ("xfrm: add IPv6 support for espintcp")
> Cc: stable@vger.kernel.org
> Reported-by: Vega <vega@nebusec.ai>
> Signed-off-by: Zihan Xi <zihanx@nebusec.ai>

Applied, thanks a lot!

  parent reply	other threads:[~2026-11-27  9:21 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-16 15:52 [PATCH net 0/1] xfrm: espintcp: fix IPv4/IPv6 receive path confusion Zihan Xi
2026-11-16 15:52 ` [PATCH net 1/1] xfrm: espintcp: select receive path by skb protocol Zihan Xi
2026-11-25 17:40   ` Sabrina Dubroca
2026-11-27  9:21   ` Steffen Klassert [this message]
2026-11-25 10:53 ` [PATCH net 0/1] xfrm: espintcp: fix IPv4/IPv6 receive path confusion Sabrina Dubroca
2026-11-25 11:14   ` zihan xi
2026-11-25 11:42     ` Sabrina Dubroca

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=awlLogRS02zbcZJL@gauss4 \
    --to=steffen.klassert@secunet.com \
    --cc=davem@davemloft.net \
    --cc=edumazet@kernel.org \
    --cc=herbert@gondor.apana.org.au \
    --cc=horms@kernel.org \
    --cc=ipsec@lists.linux.dev \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=sd@queasysnail.net \
    --cc=vega@nebusec.ai \
    --cc=zihanx@nebusec.ai \
    /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 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.