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
- Lines: 9
- Date:
2003-06-13 07:51:39.000000000 -0700
- Orig file:
linux-2.4.20/net/sched/sch_atm.c
- Orig date:
2001-12-21 09:42:06.000000000 -0800
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)