]> git.baikalelectronics.ru Git - kernel.git/commit
udp_tunnel: Pass UDP socket down through udp_tunnel{, 6}_xmit_skb().
authorDavid Miller <davem@davemloft.net>
Mon, 6 Apr 2015 02:19:09 +0000 (22:19 -0400)
committerDavid S. Miller <davem@davemloft.net>
Tue, 7 Apr 2015 19:29:08 +0000 (15:29 -0400)
commit3dbfebe86f72ad05fc6ca3dc5e569baeafd33479
tree8cfacda45a2b3d12a3831511199a13d33f245890
parent225a6ca953b8f74e47f74fc8e4b4830d0e2085fb
udp_tunnel: Pass UDP socket down through udp_tunnel{, 6}_xmit_skb().

That was we can make sure the output path of ipv4/ipv6 operate on
the UDP socket rather than whatever random thing happens to be in
skb->sk.

Based upon a patch by Jiri Pirko.

Signed-off-by: David S. Miller <davem@davemloft.net>
Acked-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
14 files changed:
drivers/net/vxlan.c
include/net/ip6_tunnel.h
include/net/ipv6.h
include/net/udp_tunnel.h
include/net/vxlan.h
net/ipv4/geneve.c
net/ipv4/ip_tunnel.c
net/ipv4/udp_tunnel.c
net/ipv6/ip6_gre.c
net/ipv6/ip6_tunnel.c
net/ipv6/ip6_udp_tunnel.c
net/ipv6/output_core.c
net/openvswitch/vport-vxlan.c
net/tipc/udp_media.c