| 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@xxxxxxxxxxxxxxxxxxx> |
| References: | <20041016204848.GB21849@xxxxxxxxxxxxxxxxxxxxxxxxxx> <E1CJ5lg-0005eC-00@xxxxxxxxxxxxxxxxxxxxxxxx> <20041017090837.GA24362@xxxxxxxxxxxxxxxxxxx> |
| 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> |
|---|---|---|
| ||
| Previous by Date: | Re: r8169: page allocation failure, Herbert Xu |
|---|---|
| Next by Date: | [PATCH 2.4.28-pre4-bk3] forcedeth: Gigabit ethernet support and media detection changes, Manfred Spraul |
| Previous by Thread: | Re: r8169: page allocation failure, Herbert Xu |
| Next by Thread: | Re: r8169: page allocation failure, David S. Miller |
| Indexes: | [Date] [Thread] [Top] [All Lists] |