projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
dev: Defer free of skbs in flush_backlog
[linux-2.6-microblaze.git]
/
net
/
core
/
dev.c
diff --git
a/net/core/dev.c
b/net/core/dev.c
index
90b59fc
..
7a774eb
100644
(file)
--- a/
net/core/dev.c
+++ b/
net/core/dev.c
@@
-5601,7
+5601,7
@@
static void flush_backlog(struct work_struct *work)
skb_queue_walk_safe(&sd->input_pkt_queue, skb, tmp) {
if (skb->dev->reg_state == NETREG_UNREGISTERING) {
__skb_unlink(skb, &sd->input_pkt_queue);
-
kfree_skb
(skb);
+
dev_kfree_skb_irq
(skb);
input_queue_head_incr(sd);
}
}