Commit 101c46b5 authored by David S. Miller's avatar David S. Miller

[VLAN]: __vlan_hwaccel_rx() needs to use dev_kfree_skb_any.

Signed-off-by: default avatarDavid S. Miller <davem@redhat.com>
parent 5b52e084
......@@ -152,7 +152,7 @@ static inline int __vlan_hwaccel_rx(struct sk_buff *skb,
skb->real_dev = skb->dev;
skb->dev = grp->vlan_devices[vlan_tag & VLAN_VID_MASK];
if (skb->dev == NULL) {
kfree_skb(skb);
dev_kfree_skb_any(skb);
/* Not NET_RX_DROP, this is not being dropped
* due to congestion.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment