Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Aug 2002 12:54:19 -0700 (PDT)
From:      Julian Elischer <julian@elischer.org>
To:        JINMEI Tatuya / =?ISO-2022-JP?B?GyRCP0BMQEMjOkgbKEI=?= <jinmei@isl.rdc.toshiba.co.jp>
Cc:        "George V. Neville-Neil" <gnn@neville-neil.com>, freebsd-net@FreeBSD.ORG
Subject:   Re: Error in UDP output processing?
Message-ID:  <Pine.BSF.4.21.0208131252440.17577-100000@InterJet.elischer.org>
In-Reply-To: <y7vy9bazls9.wl@ocean.jinmei.org>

next in thread | previous in thread | raw e-mail | index | archive | help


On Wed, 14 Aug 2002, JINMEI Tatuya / [ISO-2022-JP] 神明達哉 wrote:

> >>>>> On Mon, 12 Aug 2002 21:53:09 -0700, 
> >>>>> "George V. Neville-Neil" <gnn@neville-neil.com> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0208131252440.17577-100000>