datapath: vxlan: Only set has-GBP bit in header if any other bits would be set
authorThomas Graf <tgraf@noironetworks.com>
Thu, 12 Feb 2015 20:23:08 +0000 (21:23 +0100)
committerThomas Graf <tgraf@noironetworks.com>
Thu, 12 Feb 2015 20:23:15 +0000 (21:23 +0100)
commitf1063b759fba1ece26dbd55e678f66c3caf59ed5
treea17fa203d1e9fa9da981d96eb572f918f0611f05
parent99970e95bc827323ad9b9cfb326f2204b76300d8
datapath: vxlan: Only set has-GBP bit in header if any other bits would be set

    vxlan: Only set has-GBP bit in header if any other bits would be set

    This allows for a VXLAN-GBP socket to talk to a Linux VXLAN socket by
    not setting any of the bits.

Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Upstream: db79a621835e ("vxlan: Only set has-GBP bit in header if any other bits would be set")
Signed-off-by: Thomas Graf <tgraf@noironetworks.com>
Acked-by: Pravin B Shelar <pshelar@nicira.com>
datapath/linux/compat/vxlan.c