datapath: Account for "udp: Do not require sock in udp_tunnel_xmit_skb"
authorJesse Gross <jesse@nicira.com>
Wed, 18 Feb 2015 01:28:58 +0000 (17:28 -0800)
committerJesse Gross <jesse@nicira.com>
Fri, 20 Feb 2015 23:34:26 +0000 (15:34 -0800)
commit7bdcee3ee0b8332c0fecef65745abffa9da9c09f
treef606bbbb6967f9160dde5f14e2735e812a455ac4
parent90d8188c149c0ea30f9ea1cfea3b4da77dd93f9b
datapath: Account for "udp: Do not require sock in udp_tunnel_xmit_skb"

Upstream commit:
    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>
Upstream: d998f8ef ("udp: Do not require sock in udp_tunnel_xmit_skb")
Signed-off-by: Jesse Gross <jesse@nicira.com>
Acked-by: Thomas Graf <tgraf@noironetworks.com>
Acked-by: Pravin B Shelar <pshelar@nicira.com>
datapath/linux/compat/include/net/udp_tunnel.h
datapath/linux/compat/udp_tunnel.c
datapath/linux/compat/vxlan.c
datapath/vport-lisp.c