openvswitch: Only set TUNNEL_VXLAN_OPT if VXLAN-GBP metadata is set
authorThomas Graf <tgraf@suug.ch>
Mon, 9 Feb 2015 15:56:37 +0000 (16:56 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 9 Feb 2015 22:25:52 +0000 (14:25 -0800)
This avoids setting TUNNEL_VXLAN_OPT for VXLAN frames which don't
have any GBP metadata set. It is not invalid to set it but unnecessary.

Signed-off-by: Thomas Graf <tgraf@suug.ch>
Acked-by: Pravin B Shelar <pshelar@nicira.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found