From owner-freebsd-net Tue Aug 13 13: 0:36 2002 Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F26C337B42F for ; Tue, 13 Aug 2002 13:00:32 -0700 (PDT) Received: from sccrmhc02.attbi.com (sccrmhc02.attbi.com [204.127.202.62]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1590F43E6E for ; Tue, 13 Aug 2002 13:00:32 -0700 (PDT) (envelope-from julian@elischer.org) Received: from InterJet.elischer.org ([12.232.206.8]) by sccrmhc02.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020813200031.LRIX13899.sccrmhc02.attbi.com@InterJet.elischer.org>; Tue, 13 Aug 2002 20:00:31 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id MAA17968; Tue, 13 Aug 2002 12:54:19 -0700 (PDT) Date: Tue, 13 Aug 2002 12:54:19 -0700 (PDT) From: Julian Elischer To: JINMEI Tatuya / =?ISO-2022-JP?B?GyRCP0BMQEMjOkgbKEI=?= Cc: "George V. Neville-Neil" , freebsd-net@FreeBSD.ORG Subject: Re: Error in UDP output processing? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=X-UNKNOWN Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Wed, 14 Aug 2002, JINMEI Tatuya / [ISO-2022-JP] 神明達哉 wrote: > >>>>> On Mon, 12 Aug 2002 21:53:09 -0700, > >>>>> "George V. Neville-Neil" said: > > > I'm looking at the -STABLE sources for a bug we're having at work with > > a high capacity server that uses UDP. > > > The bug is that when we run out of mbufs in udp_output() we do NOT > > disconnect the socket that caused the error. All error cases goto release: > > which > > is after the in_pcbdisconnect() call. Is this intentional? > > I don't think so. The socket should be disconnected before returning > the error. Why? dropping a udp packet due to lack of local resources shouldn't affect the state of the socket.. just as having a router drop the packet shouldn't affect it.. I don't understnad the question I guess. > > JINMEI, Tatuya > Communication Platform Lab. > Corporate R&D Center, Toshiba Corp. > jinmei@isl.rdc.toshiba.co.jp > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-net" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message