From: David Miller Subject: Re: sockets affected by IPsec always block (2.6.23) Date: Thu, 06 Dec 2007 05:55:15 -0800 (PST) Message-ID: <20071206.055515.180308628.davem@davemloft.net> References: <200712061235.06025.stefan@loplof.de> <20071206.033909.76192198.davem@davemloft.net> <200712061330.20586.stefan@loplof.de> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: herbert@gondor.apana.org.au, simon@fire.lp0.eu, linux-kernel@vger.kernel.org, netdev@vger.kernel.org To: stefan@loplof.de Return-path: Received: from 74-93-104-97-Washington.hfc.comcastbusiness.net ([74.93.104.97]:54505 "EHLO sunset.davemloft.net" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1752671AbXLFNzQ (ORCPT ); Thu, 6 Dec 2007 08:55:16 -0500 In-Reply-To: <200712061330.20586.stefan@loplof.de> Sender: netdev-owner@vger.kernel.org List-ID: From: Stefan Rompf Date: Thu, 6 Dec 2007 13:30:20 +0100 > IMHO this is what developers expect, and is also consistent with the > fact that POSIX does not define O_NONBLOCK behaviour for local > files. You keep ignoring the fact that, as Herbert and I discussed, not blocking for IPSEC resolution will make some connect() cases fail that would otherwise not fail. There are two sides to this issue, and we need to consider them both. Long term a resolution-packet-queue provides a solution that handles both angles correctly, but we don't have that code yet.