aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/packet/af_packet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/packet/af_packet.c b/net/packet/af_packet.c
index d2b5f6591f1a..40053a08f009 100644
--- a/net/packet/af_packet.c
+++ b/net/packet/af_packet.c
@@ -1654,7 +1654,7 @@ static int packet_rcv(struct sk_buff *skb, struct net_device *dev,
1654 skb->data = skb_head; 1654 skb->data = skb_head;
1655 skb->len = skb_len; 1655 skb->len = skb_len;
1656 } 1656 }
1657 kfree_skb(skb); 1657 consume_skb(skb);
1658 skb = nskb; 1658 skb = nskb;
1659 } 1659 }
1660 1660