From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Dumazet Subject: Re: PROBLEM: Silent data corruption when using sendfile() Date: Sat, 14 Jul 2012 16:19:00 +0200 Message-ID: <1342275540.3265.9760.camel@edumazet-glaptop> References: <20120713171835.GA26052@vault.local> <1342254042.3265.9017.camel@edumazet-glaptop> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Cc: Johannes Truschnigg , linux-kernel@vger.kernel.org, Willy Tarreau , Linux-Netdev To: Hillf Danton Return-path: Received: from mail-we0-f174.google.com ([74.125.82.174]:63750 "EHLO mail-we0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752655Ab2GNOTG (ORCPT ); Sat, 14 Jul 2012 10:19:06 -0400 In-Reply-To: Sender: netdev-owner@vger.kernel.org List-ID: On Sat, 2012-07-14 at 22:08 +0800, Hillf Danton wrote: > On Sat, Jul 14, 2012 at 4:20 PM, Eric Dumazet 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.