Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965265AbWIROTe (ORCPT ); Mon, 18 Sep 2006 10:19:34 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S965269AbWIROTe (ORCPT ); Mon, 18 Sep 2006 10:19:34 -0400 Received: from smarthost1.sentex.ca ([64.7.153.18]:47057 "EHLO smarthost1.sentex.ca") by vger.kernel.org with ESMTP id S965265AbWIROTd (ORCPT ); Mon, 18 Sep 2006 10:19:33 -0400 From: "Stuart MacDonald" To: "'Andi Kleen'" Cc: Subject: RE: TCP stack behaviour question Date: Mon, 18 Sep 2006 10:19:08 -0400 Organization: Connect Tech Inc. Message-ID: <002801c6db2d$67d8a3a0$294b82ce@stuartm> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.6626 Importance: Normal In-Reply-To: <200609181554.15820.ak@suse.de> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 968 Lines: 26 From: Andi Kleen [mailto:ak@suse.de] > > # man 7 ip > > .. > > Note that TCP has no error queue; MSG_ERRQUEUE is > > illegal on SOCK_STREAM sockets. Thus all errors are returned by > > socket function return or SO_ERROR only. > > > > Maybe the man page is wrong? That's from my FC 3 install. > > The sentence is correct, but TCP has a IP_RECVERR that works > differently without a queue. Basically it doesn't delay the error > reporting for incoming ICMPs to the last retransmit, but reports > them immediately. This is documented in tcp(7) I read that too, but didn't know which one was correct, so I erred on the side of caution and believed ip(7). Good to know, I'll look into that. Thanks. ..Stu - 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/