netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Andi Kleen <ak@suse.de>
To: bert hubert <ahu@ds9a.nl>
Cc: netdev@oss.sgi.com
Subject: Re: 2.4.18 userspace seeing UDP packets with bad checksum?
Date: Tue, 30 Jul 2002 14:57:48 +0200	[thread overview]
Message-ID: <20020730145748.A11789@wotan.suse.de> (raw)
In-Reply-To: <20020730104815.GA22307@outpost.ds9a.nl>

On Tue, Jul 30, 2002 at 12:48:15PM +0200, bert hubert wrote:
> I'm under the strong impression that 2.4.18 lets userspace see packets with
> incorrect UDP checksums. The packet attached arrived in userspace after
> travelling all the way from Taiwan.
> 
> Is this policy?

Yes. The checksum is checked while doing the copy to user space. When the
checksum fails you still have the already done copy, the kernel does not 
try to undo it.

-Andi

      parent reply	other threads:[~2002-07-30 12:57 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
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 [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=20020730145748.A11789@wotan.suse.de \
    --to=ak@suse.de \
    --cc=ahu@ds9a.nl \
    --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).