[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZH3cN8IIJ1fhlsUW@corigine.com>
Date: Mon, 5 Jun 2023 14:59:35 +0200
From: Simon Horman <simon.horman@...igine.com>
To: Maciej Żenczykowski <maze@...gle.com>
Cc: Maciej Żenczykowski <zenczykowski@...il.com>,
Linux Network Development Mailing List <netdev@...r.kernel.org>,
Sabrina Dubroca <sd@...asysnail.net>,
Steffen Klassert <steffen.klassert@...unet.com>,
Jakub Kicinski <kuba@...nel.org>,
Benedict Wong <benedictwong@...gle.com>,
Yan Yan <evitayan@...gle.com>
Subject: Re: [PATCH v2] xfrm: fix inbound ipv4/udp/esp packets to UDPv6
dualstack sockets
On Mon, Jun 05, 2023 at 04:06:54AM -0700, Maciej Żenczykowski wrote:
> Before Linux v5.8 an AF_INET6 SOCK_DGRAM (udp/udplite) socket
> with SOL_UDP, UDP_ENCAP, UDP_ENCAP_ESPINUDP{,_NON_IKE} enabled
> would just unconditionally use xfrm4_udp_encap_rcv(), afterwards
> such a socket would use the newly added xfrm6_udp_encap_rcv()
> which only handles IPv6 packets.
>
> Cc: Sabrina Dubroca <sd@...asysnail.net>
> Cc: Steffen Klassert <steffen.klassert@...unet.com>
> Cc: Jakub Kicinski <kuba@...nel.org>
> Cc: Benedict Wong <benedictwong@...gle.com>
> Cc: Yan Yan <evitayan@...gle.com>
> Fixes: 0146dca70b87 ('xfrm: add support for UDPv6 encapsulation of ESP')
> Signed-off-by: Maciej Żenczykowski <maze@...gle.com>
Hi Maciej,
Does the opposite case also need to be handled in xfrm4_udp_encap_rcv()?
Powered by blists - more mailing lists