aboutsummaryrefslogtreecommitdiffstats
path: root/net/sched/sch_generic.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/sched/sch_generic.c')
-rw-r--r--net/sched/sch_generic.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/sched/sch_generic.c b/net/sched/sch_generic.c
index 318c9f656e8e..1192da229835 100644
--- a/net/sched/sch_generic.c
+++ b/net/sched/sch_generic.c
@@ -542,6 +542,9 @@ void qdisc_reset(struct Qdisc *qdisc)
542 542
543 if (ops->reset) 543 if (ops->reset)
544 ops->reset(qdisc); 544 ops->reset(qdisc);
545
546 kfree_skb(qdisc->gso_skb);
547 qdisc->gso_skb = NULL;
545} 548}
546EXPORT_SYMBOL(qdisc_reset); 549EXPORT_SYMBOL(qdisc_reset);
547 550