Does this help? (Untested)
Duncan.
--- linux-2.6.0-test9/net/atm/pppoatm.c.orig 2004-01-23 21:39:01.000000000 +0100
+++ linux-2.6.0-test9/net/atm/pppoatm.c 2004-01-23 21:41:34.000000000 +0100
@@ -238,8 +238,12 @@
DPRINTK("(unit %d): atm_skb(%p)->vcc(%p)->dev(%p)\n",
pvcc->chan.unit, skb, ATM_SKB(skb)->vcc,
ATM_SKB(skb)->vcc->dev);
- return ATM_SKB(skb)->vcc->send(ATM_SKB(skb)->vcc, skb)
- ? DROP_PACKET : 1;
+ if (ATM_SKB(skb)->vcc->send(ATM_SKB(skb)->vcc, skb)) {
+ atomic_sub(skb->truesize, &ATM_SKB(skb)->vcc->sk->sk_wmem_alloc);
+ kfree_skb(skb);
+ return DROP_PACKET;
+ }
+ return 1;
nospace:
/*
* We don't have space to send this SKB now, but we might have
Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se d�sinscrire : mailto:[EMAIL PROTECTED]