]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net_sched: sch_htb: defer skb freeing
authorEric Dumazet <edumazet@google.com>
Tue, 14 Jun 2016 03:21:56 +0000 (20:21 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 15 Jun 2016 21:08:35 +0000 (14:08 -0700)
commita5a9f5346fb95c00d47e8b4648f6d5eada147cd4
tree193c7e0eec88d43b63f92f29bec1868762315051
parente7e424cdc4b2fcd7507b71d3a931708d11d5a61e
net_sched: sch_htb: defer skb freeing

Both htb_reset() and htb_destroy() can use __qdisc_reset_queue()
instead of __skb_queue_purge() to defer skb freeing of internal
queues.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_htb.c