Subject: [PATCH 14/14] pkt_sched: sch_generic: Purge qdisc->requeue list in qdisc_reset().

From: Jarek Poplawski <[email-masked]>
Date: Tue, 14 Oct 2008 09:55:41 +0000

pkt_sched: sch_generic: Purge qdisc->requeue list in qdisc_reset().

Signed-off-by: Jarek Poplawski <[email-masked]>
---
 net/sched/sch_generic.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/net/sched/sch_generic.c b/net/sched/sch_generic.c
index 9560ea1..eceec2f 100644
--- a/net/sched/sch_generic.c
+++ b/net/sched/sch_generic.c
@@ -504,6 +504,7 @@ void qdisc_reset(struct Qdisc *qdisc)
 {
 	const struct Qdisc_ops *ops = qdisc->ops;
 
+	__skb_queue_purge(&qdisc->requeue);
 	if (ops->reset)
 		ops->reset(qdisc);
 }
-- 
1.5.6.5