Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S264997AbUJGNVm (ORCPT ); Thu, 7 Oct 2004 09:21:42 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S265144AbUJGNVQ (ORCPT ); Thu, 7 Oct 2004 09:21:16 -0400 Received: from hibernia.jakma.org ([212.17.55.49]:18317 "EHLO hibernia.jakma.org") by vger.kernel.org with ESMTP id S264997AbUJGNT0 (ORCPT ); Thu, 7 Oct 2004 09:19:26 -0400 Date: Thu, 7 Oct 2004 14:19:04 +0100 (IST) From: Paul Jakma X-X-Sender: paul@hibernia.jakma.org To: Martijn Sipkema cc: Chris Friesen , "Richard B. Johnson" , "David S. Miller" , joris@eljakim.nl, linux-kernel@vger.kernel.org Subject: Re: UDP recvmsg blocks after select(), 2.6 bug? In-Reply-To: <001c01c4ac76$fb9fd190$161b14ac@boromir> Message-ID: References: <20041006080104.76f862e6.davem@davemloft.net> <20041006082145.7b765385.davem@davemloft.net> <4164EBF1.3000802@nortelnetworks.com> <001601c4ac72$19932760$161b14ac@boromir> <001c01c4ac76$fb9fd190$161b14ac@boromir> X-NSA: arafat al aqsar jihad musharef jet-A1 avgas ammonium qran inshallah allah al-akbar martyr iraq saddam hammas hisballah rabin ayatollah korea vietnam revolt mustard gas british airways washington MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 819 Lines: 21 On Thu, 7 Oct 2004, Martijn Sipkema wrote: > Would you care to provide any real answers or are you just telling > me to shut up because whatever Linux does is good, and not appear > unreasonable by adding a ;) ..? No, I'm saying it's simple good practice to set O_NONBLOCK on sockets if one expects not to block - any other expectation is not robust, never mind what POSIX says about select(). regards, -- Paul Jakma paul@clubi.ie paul@jakma.org Key ID: 64A2FF6A Fortune: You know you are getting old when you think you should drive the speed limit. -- E.A. Gilliam - 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/