diff options
-rw-r--r-- | net/openvswitch/vport-vxlan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/openvswitch/vport-vxlan.c b/net/openvswitch/vport-vxlan.c index ff07d4062d60..3277a7520e31 100644 --- a/net/openvswitch/vport-vxlan.c +++ b/net/openvswitch/vport-vxlan.c | |||
@@ -76,7 +76,7 @@ static void vxlan_rcv(struct vxlan_sock *vs, struct sk_buff *skb, | |||
76 | 76 | ||
77 | flags = TUNNEL_KEY | (udp_hdr(skb)->check != 0 ? TUNNEL_CSUM : 0); | 77 | flags = TUNNEL_KEY | (udp_hdr(skb)->check != 0 ? TUNNEL_CSUM : 0); |
78 | vxlan_port = vxlan_vport(vport); | 78 | vxlan_port = vxlan_vport(vport); |
79 | if (vxlan_port->exts & VXLAN_F_GBP) | 79 | if (vxlan_port->exts & VXLAN_F_GBP && md->gbp) |
80 | flags |= TUNNEL_VXLAN_OPT; | 80 | flags |= TUNNEL_VXLAN_OPT; |
81 | 81 | ||
82 | /* Save outer tunnel values */ | 82 | /* Save outer tunnel values */ |