From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755777Ab2GNOTM (ORCPT ); Sat, 14 Jul 2012 10:19:12 -0400 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 Subject: Re: PROBLEM: Silent data corruption when using sendfile() From: Eric Dumazet To: Hillf Danton Cc: Johannes Truschnigg , linux-kernel@vger.kernel.org, Willy Tarreau , Linux-Netdev In-Reply-To: References: <20120713171835.GA26052@vault.local> <1342254042.3265.9017.camel@edumazet-glaptop> Content-Type: text/plain; charset="UTF-8" Date: Sat, 14 Jul 2012 16:19:00 +0200 Message-ID: <1342275540.3265.9760.camel@edumazet-glaptop> Mime-Version: 1.0 X-Mailer: Evolution 2.28.3 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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.