[PATCH] fix pppoatm compile in 2.5.65

John Levon (levon@movementarian.org)
Tue, 18 Mar 2003 15:51:27 +0000


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",
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/