]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net: sched: fix missing free per cpu on qstats
authorJohn Fastabend <john.fastabend@gmail.com>
Tue, 5 Jan 2016 17:11:36 +0000 (09:11 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 6 Jan 2016 06:40:21 +0000 (01:40 -0500)
commit73c20a8b7245273125cfe92c4b46e6fdb568a801
tree694941b47f2c286d3de81d8ac056aacb22d234a6
parentf941461c925832fbeb7876b794ab9fbec6a7a8af
net: sched: fix missing free per cpu on qstats

When a qdisc is using per cpu stats (currently just the ingress
qdisc) only the bstats are being freed. This also free's the qstats.

Fixes: b0ab6f92752b9f9d8 ("net: sched: enable per cpu qstats")
Signed-off-by: John Fastabend <john.r.fastabend@intel.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_generic.c