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(). 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 | 6 +----- 6 files changed, 12 insertions(+), 14 deletions(-) -- 2.1.0