From: Knut Petersen <Knut_Petersen@t-online.de>
To: Herbert Xu <herbert@gondor.apana.org.au>
Cc: shemminger@osdl.org, netdev@vger.kernel.org,
linux-kernel@vger.kernel.org,
"David S. Miller" <davem@davemloft.net>
Subject: Re: [BUG] sky2 broken for Yukon PCI-E Gigabit Ethernet Controller 11ab:4362 (rev 19)
Date: Sat, 04 Feb 2006 11:32:05 +0100 [thread overview]
Message-ID: <43E482A5.8020306@t-online.de> (raw)
In-Reply-To: <20060127122242.GA32128@gondor.apana.org.au>
2.6.16-rc2 still misses your patch. Was there a special reason not to
send it
to Linus?
cu,
Knut
>On Fri, Jan 27, 2006 at 07:07:34AM +0100, Knut Petersen wrote:
>
>
>>Well, there are no problems if SuSEfirewall2 is disabled. But have a look
>>at the loaded modules:
>>
>>ipt_MASQUERADE 3968 1
>>pppoe 15360 2
>>pppox 4616 1 pppoe
>>
>>
>
>OK, although we can't rule out sky2/netfilter from the enquiry, I've
>identified two bugs in ppp/pppoe that may be responsible for what you
>are seeing. So please try the following patch and let us know if the
>problem still exists (or deteriorates/improves).
>
>[PPP]: Fixed hardware RX checksum handling
>
>When we pull the PPP protocol off the skb, we forgot to update the
>hardware RX checksum. This may lead to messages such as
>
> dsl0: hw csum failure.
>
>Similarly, we need to clear the hardware checksum flag when we use
>the existing packet to store the decompressed result.
>
>Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
>
>Cheers,
>
>
>------------------------------------------------------------------------
>
>diff --git a/drivers/net/ppp_generic.c b/drivers/net/ppp_generic.c
>--- a/drivers/net/ppp_generic.c
>+++ b/drivers/net/ppp_generic.c
>@@ -1610,6 +1610,8 @@ ppp_receive_nonmp_frame(struct ppp *ppp,
> }
> else if (!pskb_may_pull(skb, skb->len))
> goto err;
>+ else
>+ skb->ip_summed = CHECKSUM_NONE;
>
> len = slhc_uncompress(ppp->vj, skb->data + 2, skb->len - 2);
> if (len <= 0) {
>@@ -1690,6 +1692,7 @@ ppp_receive_nonmp_frame(struct ppp *ppp,
> kfree_skb(skb);
> } else {
> skb_pull(skb, 2); /* chop off protocol */
>+ skb_postpull_rcsum(skb, skb->data - 2, 2);
> skb->dev = ppp->dev;
> skb->protocol = htons(npindex_to_ethertype[npi]);
> skb->mac.raw = skb->data;
>
>
prev parent reply other threads:[~2006-02-04 10:32 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <43D1C99E.2000506@t-online.de>
2006-01-23 18:15 ` [BUG] sky2 broken for Yukon PCI-E Gigabit Ethernet Controller 11ab:4362 (rev 19) Stephen Hemminger
2006-01-23 19:20 ` Knut Petersen
[not found] ` <20060123112751.2e3f1b15@dxpl.pdx.osdl.net>
2006-01-24 9:43 ` Knut Petersen
2006-01-24 17:54 ` Stephen Hemminger
2006-01-24 20:32 ` Herbert Xu
2006-01-27 6:07 ` Knut Petersen
2006-01-27 12:22 ` Herbert Xu
2006-01-27 15:28 ` Patrick McHardy
2006-01-27 16:04 ` Knut Petersen
2006-02-04 10:32 ` Knut Petersen [this message]
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=43E482A5.8020306@t-online.de \
--to=knut_petersen@t-online.de \
--cc=davem@davemloft.net \
--cc=herbert@gondor.apana.org.au \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=shemminger@osdl.org \
/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;
as well as URLs for NNTP newsgroup(s).