summaryrefslogtreecommitdiffstats
path: root/net/openvswitch/vport-vxlan.c
diff options
context:
space:
mode:
authorTom Herbert <therbert@google.com>2015-01-20 11:23:04 -0800
committerDavid S. Miller <davem@davemloft.net>2015-01-24 23:15:40 -0800
commitd998f8efa47221405ceae129aa93fa6d4ac8510d (patch)
treeacb9482e367cef876bbc4aac946fdde32ad25b51 /net/openvswitch/vport-vxlan.c
parent2b995f63987013bacde99168218f9c7b252bdcf1 (diff)
downloadlinux-d998f8efa47221405ceae129aa93fa6d4ac8510d.tar.bz2
udp: Do not require sock in udp_tunnel_xmit_skb
The UDP tunnel transmit functions udp_tunnel_xmit_skb and udp_tunnel6_xmit_skb include a socket argument. The socket being passed to the functions (from VXLAN) is a UDP created for receive side. The only thing that the socket is used for in the transmit functions is to get the setting for checksum (enabled or zero). This patch removes the argument and and adds a nocheck argument for checksum setting. This eliminates the unnecessary dependency on a UDP socket for UDP tunnel transmit. Signed-off-by: Tom Herbert <therbert@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/openvswitch/vport-vxlan.c')
0 files changed, 0 insertions, 0 deletions