aboutsummaryrefslogtreecommitdiffstats
path: root/net/openvswitch/vport-gre.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/openvswitch/vport-gre.c')
-rw-r--r--net/openvswitch/vport-gre.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/openvswitch/vport-gre.c b/net/openvswitch/vport-gre.c
index d4168c442db5..e9aedb7c7106 100644
--- a/net/openvswitch/vport-gre.c
+++ b/net/openvswitch/vport-gre.c
@@ -166,7 +166,7 @@ static int gre_tnl_send(struct vport *vport, struct sk_buff *skb)
166 166
167 min_headroom = LL_RESERVED_SPACE(rt->dst.dev) + rt->dst.header_len 167 min_headroom = LL_RESERVED_SPACE(rt->dst.dev) + rt->dst.header_len
168 + tunnel_hlen + sizeof(struct iphdr) 168 + tunnel_hlen + sizeof(struct iphdr)
169 + (vlan_tx_tag_present(skb) ? VLAN_HLEN : 0); 169 + (skb_vlan_tag_present(skb) ? VLAN_HLEN : 0);
170 if (skb_headroom(skb) < min_headroom || skb_header_cloned(skb)) { 170 if (skb_headroom(skb) < min_headroom || skb_header_cloned(skb)) {
171 int head_delta = SKB_DATA_ALIGN(min_headroom - 171 int head_delta = SKB_DATA_ALIGN(min_headroom -
172 skb_headroom(skb) + 172 skb_headroom(skb) +