projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db4879d
)
net_sched: sch_fq: defer skb freeing
author
Eric Dumazet
<edumazet@google.com>
Tue, 14 Jun 2016 03:21:59 +0000
(20:21 -0700)
committer
David S. Miller
<davem@davemloft.net>
Wed, 15 Jun 2016 21:08:36 +0000
(14:08 -0700)
sfq_reset() can use rtnl_kfree_skbs() instead of kfree_skb()
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_sfq.c
patch
|
blob
|
blame
|
history
diff --git
a/net/sched/sch_sfq.c
b/net/sched/sch_sfq.c
index a2e0b855d1c8cff3fc995679d483760c78cf236b..57d118b41cad69743927dd91c5234444a809baf9 100644
(file)
--- a/
net/sched/sch_sfq.c
+++ b/
net/sched/sch_sfq.c
@@
-520,7
+520,7
@@
sfq_reset(struct Qdisc *sch)
struct sk_buff *skb;
while ((skb = sfq_dequeue(sch)) != NULL)
-
kfree_skb(
skb);
+
rtnl_kfree_skbs(skb,
skb);
}
/*