netdev
[Top] [All Lists]

Re: r8169: page allocation failure

To: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Subject: Re: r8169: page allocation failure
From: Jan Killius <jkillius@xxxxxxxx>
Date: Sun, 17 Oct 2004 12:13:04 +0200
Cc: Francois Romieu <romieu@xxxxxxxxxxxxx>, netdev@xxxxxxxxxxx, davem@xxxxxxxxxxxxx, jgarzik@xxxxxxxxx
In-reply-to: <20041017090837.GA24362@gondor.apana.org.au>
References: <20041016204848.GB21849@electric-eye.fr.zoreil.com> <E1CJ5lg-0005eC-00@gondolin.me.apana.org.au> <20041017090837.GA24362@gondor.apana.org.au>
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: KMail/1.7.1
On Sunday 17 October 2004 11:08, Herbert Xu wrote:
> On Sun, Oct 17, 2004 at 05:47:52PM +1000, Herbert Xu wrote:
> > It should instead allocate a new skb of 1 mss.  I'll work on it.
>
> In fact it was allocating space that it wasn't even using :)
>
> The following patch makes it allocate skb_headlen(skb) - len instead
> of skb->len - len.  When skb is linear there is no difference.  When
> it's non-linear we only ever copy the bytes in the header.
>
> Please let me know whether this fixes your problem.
Yes the patch solved the problem completely
>
> Cheers,

-- 
        Jan

<Prev in Thread] Current Thread [Next in Thread>