mbox series

[PATCHv3,net-next,0/2] net: enable udp v6 sockets receiving v4 packets with UDP GRO

Message ID cover.1610771509.git.lucien.xin@gmail.com (mailing list archive)
Headers show
Series net: enable udp v6 sockets receiving v4 packets with UDP GRO | expand

Message

Xin Long Jan. 16, 2021, 4:32 a.m. UTC
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.
v2->v3:
  - see Patch 2/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(-)