vxlan: Only set has-GBP bit in header if any other bits would be set
authorThomas Graf <tgraf@suug.ch>
Wed, 4 Feb 2015 16:00:04 +0000 (17:00 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 5 Feb 2015 08:38:02 +0000 (00:38 -0800)
commitdb79a621835ee91d3e10177abd97f48e0a4dcf9b
treef851ee08c462a49ea1aad8206987bac93a0aff26
parent7af348be47fd2df5d276add2167b5838d48ba044
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>
drivers/net/vxlan.c