Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Sep 2004 07:50:26 GMT
From:      Maxim Konovalov <maxim@macomnet.ru>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: kern/71274: Frequent bind()/connect()'s assign same local ports to different sockets
Message-ID:  <200409020750.i827oQfh094029@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/71274; it has been noted by GNATS.

From: Maxim Konovalov <maxim@macomnet.ru>
To: Dmitry Dvoinikov <dmitry@targeted.org>
Cc: bug-followup@freebsd.org
Subject: Re: kern/71274: Frequent bind()/connect()'s assign same local ports
 to different sockets
Date: Thu, 2 Sep 2004 11:46:22 +0400 (MSD)

 On Thu, 2 Sep 2004, 13:29+0600, Dmitry Dvoinikov wrote:
 
 > Yes, it helps, obviously, as now it has to run through
 > portrange.last ports before it gets a duplicate, and this
 > is unlikely to happen within an msl.
 >
 > Anyhow, from my point of view this is still a bug,
 > because the client code fails for no apparent reason,
 > only because the random number is so unlucky to be
 > picked up to match with the live socket. This effectively
 > means that no matter what the load is, there is a chance
 > that connection just fails randomly for no reason.
 
 Agreed.  That is why I am strongly against all those obscure defaults
 especially in -STABLE branches.
 
 -- 
 Maxim Konovalov



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200409020750.i827oQfh094029>