diff options
-rw-r--r-- | include/linux/if_vlan.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/if_vlan.h b/include/linux/if_vlan.h index bbedfb56bd66..d3d2306f00bf 100644 --- a/include/linux/if_vlan.h +++ b/include/linux/if_vlan.h | |||
@@ -288,7 +288,7 @@ static inline struct sk_buff *vlan_insert_tag(struct sk_buff *skb, | |||
288 | struct vlan_ethhdr *veth; | 288 | struct vlan_ethhdr *veth; |
289 | 289 | ||
290 | if (skb_cow_head(skb, VLAN_HLEN) < 0) { | 290 | if (skb_cow_head(skb, VLAN_HLEN) < 0) { |
291 | kfree_skb(skb); | 291 | dev_kfree_skb_any(skb); |
292 | return NULL; | 292 | return NULL; |
293 | } | 293 | } |
294 | veth = (struct vlan_ethhdr *)skb_push(skb, VLAN_HLEN); | 294 | veth = (struct vlan_ethhdr *)skb_push(skb, VLAN_HLEN); |