patch-1.3.77 linux/net/appletalk/ddp.c
Next file: linux/net/ax25/af_ax25.c
Previous file: linux/mm/filemap.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Wed Mar 20 14:14:02 1996
- Orig file:
v1.3.76/linux/net/appletalk/ddp.c
- Orig date:
Wed Mar 13 10:09:26 1996
diff -u --recursive --new-file v1.3.76/linux/net/appletalk/ddp.c linux/net/appletalk/ddp.c
@@ -1791,7 +1791,7 @@
if(sk->debug)
printk("SK %p: Loop back.\n", sk);
/* loop back */
- sk->wmem_alloc-=skb->truesize;
+ atomic_sub(skb->truesize, &sk->wmem_alloc);
ddp_dl->datalink_header(ddp_dl, skb, dev->dev_addr);
skb->sk = NULL;
skb->mac.raw=skb->data;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this