Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S269566AbUJFVLz (ORCPT ); Wed, 6 Oct 2004 17:11:55 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S269553AbUJFVJ3 (ORCPT ); Wed, 6 Oct 2004 17:09:29 -0400 Received: from ts2-075.twistspace.com ([217.71.122.75]:31653 "EHLO entmoot.nl") by vger.kernel.org with ESMTP id S269540AbUJFVIE (ORCPT ); Wed, 6 Oct 2004 17:08:04 -0400 Message-ID: <00f201c4abf1$0444c3e0$161b14ac@boromir> From: "Martijn Sipkema" To: "Alan Cox" , "Andries Brouwer" Cc: "Joris van Rantwijk" , "Linux Kernel Mailing List" References: <1097080873.29204.57.camel@localhost.localdomain> <20041006193053.GC4523@pclin040.win.tue.nl> <1097090625.29707.9.camel@localhost.localdomain> Subject: Re: UDP recvmsg blocks after select(), 2.6 bug? Date: Wed, 6 Oct 2004 23:08:31 +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: 1151 Lines: 27 From: "Alan Cox" Sent: Wednesday, October 06, 2004 20:23 > On Mer, 2004-10-06 at 20:30, Andries Brouwer wrote: > > A descriptor shall be considered ready for reading when a > > call to an input function with O_NONBLOCK clear would not > > block, whether or not the function would transfer data > > successfully. (The function might return data, an end-of- > > file indication, or an error other than one indicating > > that it is blocked, and in each of these cases the > > descriptor shall be considered ready for reading.) > > > > As far as I can interpret these sentences, Linux does not conform. > > Nor does anything else in that case. I guess we need a POSIX_ME_HARDER > socket option. The default should be a POSIX compliant socket IMHO; a POSIX_ME_NOT option could provide better performance. --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/