aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/core/netpoll.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/netpoll.c b/net/core/netpoll.c
index ed7740f7a94d..e33937fb32a0 100644
--- a/net/core/netpoll.c
+++ b/net/core/netpoll.c
@@ -270,7 +270,7 @@ static void zap_completion_queue(void)
270 while (clist != NULL) { 270 while (clist != NULL) {
271 struct sk_buff *skb = clist; 271 struct sk_buff *skb = clist;
272 clist = clist->next; 272 clist = clist->next;
273 if (skb->destructor) { 273 if (!skb_irq_freeable(skb)) {
274 atomic_inc(&skb->users); 274 atomic_inc(&skb->users);
275 dev_kfree_skb_any(skb); /* put this one back */ 275 dev_kfree_skb_any(skb); /* put this one back */
276 } else { 276 } else {