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)
commit79b16aadea32cce077acbe9e229fcb58a7801687
tree8cfacda45a2b3d12a3831511199a13d33f245890
parent7026b1ddb6b8d4e6ee33dc2bd06c0ca8746fa7ab
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