patch-2.4.21 linux-2.4.21/net/sched/sch_atm.c

Next file: linux-2.4.21/net/sched/sch_csz.c
Previous file: linux-2.4.21/net/sched/cls_u32.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.20/net/sched/sch_atm.c linux-2.4.21/net/sched/sch_atm.c
@@ -511,7 +511,7 @@
 			ATM_SKB(skb)->vcc = flow->vcc;
 			memcpy(skb_push(skb,flow->hdr_len),flow->hdr,
 			    flow->hdr_len);
-			atomic_add(skb->truesize,&flow->vcc->tx_inuse);
+			atomic_add(skb->truesize,&flow->vcc->sk->wmem_alloc);
 			ATM_SKB(skb)->iovcnt = 0;
 			/* atm.atm_options are already set by atm_tc_enqueue */
 			(void) flow->vcc->send(flow->vcc,skb);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)