netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCHv2 net-next 0/2] net: enable udp v6 sockets receiving v4 packets with UDP GRO
@ 2021-01-15  7:30 Xin Long
  2021-01-15  7:30 ` [PATCHv2 net-next 1/2] udp: call udp_encap_enable for v6 sockets when enabling encap Xin Long
  0 siblings, 1 reply; 4+ messages in thread
From: Xin Long @ 2021-01-15  7:30 UTC (permalink / raw)
  To: network dev
  Cc: davem, Jakub Kicinski, pabeni, Willem de Bruijn, Martin Varghese

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.

v1->v2:
  - see Patch 1/2.

Xin Long (2):
  udp: call udp_encap_enable for v6 sockets when enabling encap
  Revert "bareudp: Fixed bareudp receive handling"

 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 +++-
 5 files changed, 11 insertions(+), 9 deletions(-)

-- 
2.1.0


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-01-15 22:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-15  7:30 [PATCHv2 net-next 0/2] net: enable udp v6 sockets receiving v4 packets with UDP GRO Xin Long
2021-01-15  7:30 ` [PATCHv2 net-next 1/2] udp: call udp_encap_enable for v6 sockets when enabling encap Xin Long
2021-01-15  7:30   ` [PATCHv2 net-next 2/2] Revert "bareudp: Fixed bareudp receive handling" Xin Long
2021-01-15 22:46     ` Jakub Kicinski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).