From: Francois Romieu <romieu@fr.zoreil.com>
To: Lukas Hejtmanek <xhejtman@mail.muni.cz>
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.6.9 - e1000 - page allocation failed
Date: Fri, 22 Oct 2004 00:58:25 +0200 [thread overview]
Message-ID: <20041021225825.GA10844@electric-eye.fr.zoreil.com> (raw)
In-Reply-To: <20041021221622.GA11607@mail.muni.cz>
Lukas Hejtmanek <xhejtman@mail.muni.cz> :
[page allocation failure with e1000]
If you are using TSO, try patch below by Herbert Xu (available
from http://marc.theaimsgroup.com/?l=linux-netdev&m=109799935603132&w=3)
--- 1.67/net/ipv4/tcp_output.c 2004-10-01 13:56:45 +10:00
+++ edited/net/ipv4/tcp_output.c 2004-10-17 18:58:47 +10:00
@@ -455,8 +455,12 @@
{
struct tcp_opt *tp = tcp_sk(sk);
struct sk_buff *buff;
- int nsize = skb->len - len;
+ int nsize;
u16 flags;
+
+ nsize = skb_headlen(skb) - len;
+ if (nsize < 0)
+ nsize = 0;
if (skb_cloned(skb) &&
skb_is_nonlinear(skb) &&
next prev parent reply other threads:[~2004-10-21 23:17 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-21 22:16 Lukas Hejtmanek
2004-10-21 22:58 ` Francois Romieu [this message]
2004-10-22 9:51 ` Andrew Morton
2004-10-22 12:08 ` Lukas Hejtmanek
2004-10-22 12:45 ` Nick Piggin
2004-12-03 18:37 ` Lukas Hejtmanek
2004-11-03 13:22 ` Lukas Hejtmanek
2004-11-03 14:10 ` Lukas Hejtmanek
2004-10-22 10:55 Piszcz, Justin Michael
2004-10-22 19:35 ` Francois Romieu
2004-10-22 11:16 Piszcz, Justin Michael
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20041021225825.GA10844@electric-eye.fr.zoreil.com \
--to=romieu@fr.zoreil.com \
--cc=linux-kernel@vger.kernel.org \
--cc=xhejtman@mail.muni.cz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®