Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S269598AbUJFWpm (ORCPT ); Wed, 6 Oct 2004 18:45:42 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S269582AbUJFWlo (ORCPT ); Wed, 6 Oct 2004 18:41:44 -0400 Received: from adsl-63-197-226-105.dsl.snfc21.pacbell.net ([63.197.226.105]:42651 "EHLO cheetah.davemloft.net") by vger.kernel.org with ESMTP id S269531AbUJFWdg (ORCPT ); Wed, 6 Oct 2004 18:33:36 -0400 Date: Wed, 6 Oct 2004 15:32:46 -0700 From: "David S. Miller" To: Andries Brouwer Cc: alan@lxorguk.ukuu.org.uk, martijn@entmoot.nl, aebr@win.tue.nl, joris@eljakim.nl, linux-kernel@vger.kernel.org Subject: Re: UDP recvmsg blocks after select(), 2.6 bug? Message-Id: <20041006153246.4f2f45e4.davem@davemloft.net> In-Reply-To: <20041006221512.GE4523@pclin040.win.tue.nl> References: <1097080873.29204.57.camel@localhost.localdomain> <20041006193053.GC4523@pclin040.win.tue.nl> <1097090625.29707.9.camel@localhost.localdomain> <00f201c4abf1$0444c3e0$161b14ac@boromir> <1097094326.29871.9.camel@localhost.localdomain> <20041006221512.GE4523@pclin040.win.tue.nl> X-Mailer: Sylpheed version 0.9.12 (GTK+ 1.2.10; sparc-unknown-linux-gnu) X-Face: "_;p5u5aPsO,_Vsx"^v-pEq09'CU4&Dc1$fQExov$62l60cgCc%FnIwD=.UF^a>?5'9Kn[;433QFVV9M..2eN.@4ZWPGbdi<=?[:T>y?SD(R*-3It"Vj:)"dP Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 580 Lines: 14 On Thu, 7 Oct 2004 00:15:12 +0200 Andries Brouwer wrote: > I would hope that checksum failure is not the fast path, > so at zeroth sight, not having looked at the code, it seems > that we could do rather elaborate things on checksum failure > if we wanted to. The code in question is in net/ipv4/udp.c:udp_recvmsg() - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/