Subject: [PATCH 06/14] sch_atm: Use ->requeue queue instead of ops.

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

-------- Original Message --------
Subject: [PATCH 7/9]: sch_atm: Use ->requeue queue instead of ops.
Date: Mon, 18 Aug 2008 01:37:12 -0700 (PDT)
From: David Miller <[email-masked]>

------------------->
From: David Miller <[email-masked]>
sch_atm: Use ->requeue queue instead of ops.

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

diff --git a/net/sched/sch_atm.c b/net/sched/sch_atm.c
index ca3467b..c8bc5fc 100644
--- a/net/sched/sch_atm.c
+++ b/net/sched/sch_atm.c
@@ -482,7 +482,7 @@ static void sch_atm_dequeue(unsigned long data)
 		 */
 		while ((skb = qdisc_dequeue(flow->q))) {
 			if (!atm_may_send(flow->vcc, skb->truesize)) {
-				(void)flow->q->ops->requeue(skb, flow->q);
+				__skb_queue_tail(&flow->q->requeue, skb);
 				break;
 			}
 			pr_debug("atm_tc_dequeue: sending on class %p\n", flow);
-- 
1.5.6.5