[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20081014095541.GO10804@ff.dom.local>
Date: Tue, 14 Oct 2008 09:55:41 +0000
From: Jarek Poplawski <jarkao2@...il.com>
To: David Miller <davem@...emloft.net>
Cc: netdev@...r.kernel.org
Subject: [PATCH 14/14] pkt_sched: sch_generic: Purge qdisc->requeue list in
qdisc_reset().
pkt_sched: sch_generic: Purge qdisc->requeue list in qdisc_reset().
Signed-off-by: Jarek Poplawski <jarkao2@...il.com>
---
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
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists