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

2026-11-16, 15:52:29 +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>
> ---
>  net/xfrm/espintcp.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Sabrina Dubroca <sd@queasysnail.net>

-- 
Sabrina

  reply	other threads:[~2026-11-25 17:40 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 [this message]
2026-11-27  9:21   ` Steffen Klassert
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=awcdeKGkqFt-uZSy@krikkit \
    --to=sd@queasysnail.net \
    --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=steffen.klassert@secunet.com \
    --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.