[PATCH] fix pppoatm compile in 2.5.65

From: John Levon (levon@movementarian.org)
Date: Tue Mar 18 2003 - 10:51:27 EST


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/



This archive was generated by hypermail 2b29 : Sun Mar 23 2003 - 22:00:23 EST