mbox series

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

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

Message

Xin Long Feb. 3, 2021, 8:54 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 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(-)

Comments

patchwork-bot+netdevbpf@kernel.org Feb. 5, 2021, 3 a.m. UTC | #1
Hello:

This series was applied to netdev/net-next.git (refs/heads/master):

On Wed,  3 Feb 2021 16:54:21 +0800 you wrote:
> 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().
> 
> [...]

Here is the summary with links:
  - [PATCHv5,net-next,1/2] udp: call udp_encap_enable for v6 sockets when enabling encap
    https://git.kernel.org/netdev/net-next/c/a4a600dd301c
  - [PATCHv5,net-next,2/2] rxrpc: call udp_tunnel_encap_enable in rxrpc_open_socket
    https://git.kernel.org/netdev/net-next/c/5d30c626b67e

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html