|
@@ -658,8 +658,10 @@ static void qdisc_rcu_free(struct rcu_head *head)
|
|
{
|
|
{
|
|
struct Qdisc *qdisc = container_of(head, struct Qdisc, rcu_head);
|
|
struct Qdisc *qdisc = container_of(head, struct Qdisc, rcu_head);
|
|
|
|
|
|
- if (qdisc_is_percpu_stats(qdisc))
|
|
|
|
|
|
+ if (qdisc_is_percpu_stats(qdisc)) {
|
|
free_percpu(qdisc->cpu_bstats);
|
|
free_percpu(qdisc->cpu_bstats);
|
|
|
|
+ free_percpu(qdisc->cpu_qstats);
|
|
|
|
+ }
|
|
|
|
|
|
kfree((char *) qdisc - qdisc->padded);
|
|
kfree((char *) qdisc - qdisc->padded);
|
|
}
|
|
}
|