[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAF=yD-JjXopPwAR=N3+BgfYoA2B53zmcykz9Buk3qfB=8Cc4nw@mail.gmail.com>
Date: Tue, 26 Jan 2021 18:07:58 -0500
From: Willem de Bruijn <willemdebruijn.kernel@...il.com>
To: Xin Long <lucien.xin@...il.com>
Cc: network dev <netdev@...r.kernel.org>,
David Miller <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>,
Willem de Bruijn <willemb@...gle.com>,
Martin Varghese <martin.varghese@...ia.com>,
Alexander Duyck <alexander.duyck@...il.com>,
David Howells <dhowells@...hat.com>
Subject: Re: [PATCHv4 net-next 1/2] udp: call udp_encap_enable for v6 sockets
when enabling encap
On Tue, Jan 26, 2021 at 5:59 PM Xin Long <lucien.xin@...il.com> wrote:
>
> When enabling encap for a ipv6 socket without udp_encap_needed_key
> increased, UDP GRO won't work for v4 mapped v6 address packets as
> sk will be NULL in udp4_gro_receive().
>
> This patch is to enable it by increasing udp_encap_needed_key for
> v6 sockets in udp_tunnel_encap_enable(), and correspondingly
> decrease udp_encap_needed_key in udpv6_destroy_sock().
>
> v1->v2:
> - add udp_encap_disable() and export it.
> v2->v3:
> - add the change for rxrpc and bareudp into one patch, as Alex
> suggested.
> v3->v4:
> - move rxrpc part to another patch.
>
> Signed-off-by: Xin Long <lucien.xin@...il.com>
Acked-by: Willem de Bruijn <willemb@...gle.com>
Powered by blists - more mailing lists