diff options
author | Eric Dumazet | 2016-06-13 20:21:58 -0700 |
---|---|---|
committer | David S. Miller | 2016-06-15 14:08:36 -0700 |
commit | db4879d93c351cb978db1eb4c963f44d267d63a2 (patch) | |
tree | 8aba557dec708d7713cbba526a208d3737b8b4d6 /net/sched | |
parent | 2f08a9a16288b60df3ddfe97c965427ce0163297 (diff) |
net_sched: sch_pie: defer skb freeing
pie_change() can use rtnl_qdisc_drop() to benefit from
deferred freeing.
pie_reset() is already using qdisc_reset_queue()
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched')
-rw-r--r-- | net/sched/sch_pie.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sched/sch_pie.c b/net/sched/sch_pie.c index 71ae3b9629f9..912a46a5d02e 100644 --- a/net/sched/sch_pie.c +++ b/net/sched/sch_pie.c @@ -234,7 +234,7 @@ static int pie_change(struct Qdisc *sch, struct nlattr *opt) dropped += qdisc_pkt_len(skb); qdisc_qstats_backlog_dec(sch, skb); - qdisc_drop(skb, sch); + rtnl_qdisc_drop(skb, sch); } qdisc_tree_reduce_backlog(sch, qlen - sch->q.qlen, dropped); |