* [PATCH] fix pppoatm compile in 2.5.65
@ 2003-03-18 15:51 John Levon
0 siblings, 0 replies; only message in thread
From: John Levon @ 2003-03-18 15:51 UTC (permalink / raw)
To: torvalds, linux-kernel; +Cc: chas
It seems to work with the patch below
regards
john
--- linux-linus/net/atm/pppoatm.c 2003-03-17 21:44:19.000000000 +0000
+++ up/net/atm/pppoatm.c 2003-03-18 15:27:47.000000000 +0000
@@ -231,7 +231,7 @@
kfree_skb(skb);
return 1;
}
- atomic_add(skb->truesize, &ATM_SKB(skb)->vcc->tx_inuse);
+ atomic_add(skb->truesize, &ATM_SKB(skb)->vcc->sk->wmem_alloc);
ATM_SKB(skb)->iovcnt = 0;
ATM_SKB(skb)->atm_options = ATM_SKB(skb)->vcc->atm_options;
DPRINTK("(unit %d): atm_skb(%p)->vcc(%p)->dev(%p)\n",
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-03-18 15:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-03-18 15:51 [PATCH] fix pppoatm compile in 2.5.65 John Levon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).