From: kuznet@ms2.inr.ac.ru
To: ahu@ds9a.nl (bert hubert)
Cc: netdev@oss.sgi.com, akpm@zip.com.au, jgarzik@mandrakesoft.com,
becker@scyld.com
Subject: Re: 3c59x 2.4.18 userspace seeing UDP packets with bad checksum?
Date: Tue, 30 Jul 2002 17:31:44 +0400 (MSD) [thread overview]
Message-ID: <200207301331.RAA03211@sex.inr.ac.ru> (raw)
In-Reply-To: <20020730131424.GA25238@outpost.ds9a.nl> from "bert hubert" at Jul 30, 2 03:14:25 pm
Hello!
> Regarding Andi's message, isn't it so that recvfrom() may return but in that
> case returns -1 and sets errno to EAGAIN?
It should if we calculated this checksum. But 3com pretends to do this
in hardware. :-)
> Anything I can do to help,
Well, try to prove that corrupted packet is really received by application.
This is not useless work, in any case, you have to cure this place,
it should not abort because of invalid data. :-)
As a faster hint try to disable rx checksumming in the driver
and look at the effect. I do not see module option to do this,
so probably you have just to comment out the place where
skb->ip_summed is set to CHECKSUM_UNNECESSARY.
Alexey
next prev parent reply other threads:[~2002-07-30 13:31 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-07-30 10:48 2.4.18 userspace seeing UDP packets with bad checksum? bert hubert
2002-07-30 12:40 ` kuznet
2002-07-30 13:14 ` 3c59x " bert hubert
2002-07-30 13:31 ` kuznet [this message]
2002-07-30 13:40 ` jamal
2002-07-30 13:49 ` bert hubert
2002-07-30 14:09 ` Donald Becker
2002-07-30 14:12 ` bert hubert
2002-07-30 13:57 ` Donald Becker
2002-07-31 11:46 ` jamal
2002-07-30 12:57 ` Andi Kleen
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=200207301331.RAA03211@sex.inr.ac.ru \
--to=kuznet@ms2.inr.ac.ru \
--cc=ahu@ds9a.nl \
--cc=akpm@zip.com.au \
--cc=becker@scyld.com \
--cc=jgarzik@mandrakesoft.com \
--cc=netdev@oss.sgi.com \
/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).