public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
From: Eric Dumazet <eric.dumazet@gmail.com>
To: Hillf Danton <dhillf@gmail.com>
Cc: Johannes Truschnigg <johannes@truschnigg.info>,
	linux-kernel@vger.kernel.org, Willy Tarreau <w@1wt.eu>,
	Linux-Netdev <netdev@vger.kernel.org>
Subject: Re: PROBLEM: Silent data corruption when using sendfile()
Date: Sat, 14 Jul 2012 16:19:00 +0200	[thread overview]
Message-ID: <1342275540.3265.9760.camel@edumazet-glaptop> (raw)
In-Reply-To: <CAJd=RBAJOqJDSBpaaB+2-WU_pa5vChXSf6TbLH8fi3HNt6hZ9w@mail.gmail.com>

On Sat, 2012-07-14 at 22:08 +0800, Hillf Danton wrote:
> On Sat, Jul 14, 2012 at 4:20 PM, Eric Dumazet <eric.dumazet@gmail.com> wrote:
> >
> > Might be, or not (could be a NIC bug)
> >
> Dunno why sendfile sits in the layer of NIC and
> how they interact.

sendfile() relies heavily on TSO capabilities, a buggy NIC could
corrupt frame content on some obscure occasions.

We had some known cases on IPv6 for example.

  reply	other threads:[~2012-07-14 14:19 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20120713171835.GA26052@vault.local>
2012-07-14  8:04 ` PROBLEM: Silent data corruption when using sendfile() Hillf Danton
2012-07-14  8:20   ` Eric Dumazet
2012-07-14  8:31     ` Willy Tarreau
2012-07-14 10:13       ` Johannes Truschnigg
2012-07-14 10:33         ` Eric Dumazet
2012-07-14 10:44           ` Willy Tarreau
2012-07-14 11:06             ` Eric Dumazet
2012-07-14 13:15               ` Willy Tarreau
2012-07-14 17:09                 ` Johannes Truschnigg
2012-07-14 11:44           ` Thorsten Kranzkowski
2012-07-14 14:08     ` Hillf Danton
2012-07-14 14:19       ` Eric Dumazet [this message]
2012-07-14 14:56         ` Willy Tarreau

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=1342275540.3265.9760.camel@edumazet-glaptop \
    --to=eric.dumazet@gmail.com \
    --cc=dhillf@gmail.com \
    --cc=johannes@truschnigg.info \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=w@1wt.eu \
    /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