patch-2.4.21 linux-2.4.21/net/atm/br2684.c
Next file: linux-2.4.21/net/atm/clip.c
Previous file: linux-2.4.21/net/atm/atm_misc.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
2003-06-13 07:51:39.000000000 -0700
- Orig file:
linux-2.4.20/net/atm/br2684.c
- Orig date:
2002-08-02 17:39:46.000000000 -0700
diff -urN linux-2.4.20/net/atm/br2684.c linux-2.4.21/net/atm/br2684.c
@@ -188,7 +188,7 @@
dev_kfree_skb(skb);
return 0;
}
- atomic_add(skb->truesize, &atmvcc->tx_inuse);
+ atomic_add(skb->truesize, &atmvcc->sk->wmem_alloc);
ATM_SKB(skb)->iovcnt = 0;
ATM_SKB(skb)->atm_options = atmvcc->atm_options;
brdev->stats.tx_packets++;
@@ -551,7 +551,7 @@
barrier();
atmvcc->push = br2684_push;
skb_queue_head_init(©);
- skb_migrate(&atmvcc->recvq, ©);
+ skb_migrate(&atmvcc->sk->receive_queue, ©);
while ((skb = skb_dequeue(©))) {
BRPRIV(skb->dev)->stats.rx_bytes -= skb->len;
BRPRIV(skb->dev)->stats.rx_packets--;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)