[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <cover.1612342376.git.lucien.xin@gmail.com>
Date: Wed, 3 Feb 2021 16:54:21 +0800
From: Xin Long <lucien.xin@...il.com>
To: network dev <netdev@...r.kernel.org>
Cc: davem@...emloft.net, Jakub Kicinski <kuba@...nel.org>,
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: [PATCHv5 net-next 0/2] net: enable udp v6 sockets receiving v4 packets with UDP
Currently, udp v6 socket can not process v4 packets with UDP GRO, as
udp_encap_needed_key is not increased when udp_tunnel_encap_enable()
is called for v6 socket.
This patchset is to increase it and remove the unnecessary code in
bareudp in Patch 1/2, and improve rxrpc encap_enable by calling
udp_tunnel_encap_enable().
v1->v4:
- See patch 1/2.
v4->v5:
- See patch 2/2.
Xin Long (2):
udp: call udp_encap_enable for v6 sockets when enabling encap
rxrpc: call udp_tunnel_encap_enable in rxrpc_open_socket
drivers/net/bareudp.c | 6 ------
include/net/udp.h | 1 +
include/net/udp_tunnel.h | 3 +--
net/ipv4/udp.c | 6 ++++++
net/ipv6/udp.c | 4 +++-
net/rxrpc/local_object.c | 7 ++-----
6 files changed, 13 insertions(+), 14 deletions(-)
--
2.1.0
Powered by blists - more mailing lists