summaryrefslogtreecommitdiffstats
path: root/net/sched/sch_sfq.c
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2016-06-14 05:21:59 +0200
committerDavid S. Miller <davem@davemloft.net>2016-06-15 23:08:36 +0200
commitfea024784f588a1c50e7718d6053697ebdcc033e (patch)
tree462e30cb64cf066c1d13cd98eb0ea502115bafda /net/sched/sch_sfq.c
parentnet_sched: sch_pie: defer skb freeing (diff)
downloadlinux-fea024784f588a1c50e7718d6053697ebdcc033e.tar.xz
linux-fea024784f588a1c50e7718d6053697ebdcc033e.zip
net_sched: sch_fq: defer skb freeing
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>
Diffstat (limited to 'net/sched/sch_sfq.c')
-rw-r--r--net/sched/sch_sfq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sched/sch_sfq.c b/net/sched/sch_sfq.c
index a2e0b855d1c8..57d118b41cad 100644
--- 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);
}
/*