Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S269773AbUJGJiW (ORCPT ); Thu, 7 Oct 2004 05:38:22 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S269771AbUJGJiW (ORCPT ); Thu, 7 Oct 2004 05:38:22 -0400 Received: from ts2-075.twistspace.com ([217.71.122.75]:37295 "EHLO entmoot.nl") by vger.kernel.org with ESMTP id S269773AbUJGJiP (ORCPT ); Thu, 7 Oct 2004 05:38:15 -0400 Message-ID: <021b01c4ac59$cbe92ea0$161b14ac@boromir> From: "Martijn Sipkema" To: "Adam Heath" Cc: "Linux Kernel Mailing List" References: <4164CB02.2030607@kegel.com> <20041007080414.GA28999@outpost.ds9a.nl> Subject: Re: UDP recvmsg blocks after select(), 2.6 bug? Date: Thu, 7 Oct 2004 11:38:33 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 X-MailScanner-Information: Please contact the ISP for more information X-MailScanner: Found to be clean Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1101 Lines: 30 From: "Adam Heath" Sent: Thursday, October 07, 2004 09:28 > On Thu, 7 Oct 2004, bert hubert wrote: > > > On Wed, Oct 06, 2004 at 09:50:10PM -0700, Dan Kegel wrote: > > > > > It would be nice to know how other operating systems behave > > > when receiving UDP packets with bad checksums. Can someone > > > try BSD and Solaris? > > > > It does not matter - this behaviour should not be depended upon. There are > > lots of other reasons why a packet might in fact not be available, kernels > > are allowed to drop UDP packets at will. > > I've been lurking and reading this thread with great interest. I had been > leaning towards thinking the kernel was wrong, until I read this email. > > This is a very excellent point. No, it isn't. If the kernel drops a UDP packet, select() should not return indicating available data. --ms - 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/