kern/71274: Frequent bind()/connect()'s assign same local ports
to different sockets
Maxim Konovalov
maxim at macomnet.ru
Thu Sep 2 00:50:28 PDT 2004
The following reply was made to PR kern/71274; it has been noted by GNATS.
From: Maxim Konovalov <maxim at macomnet.ru>
To: Dmitry Dvoinikov <dmitry at targeted.org>
Cc: bug-followup at 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
More information about the freebsd-bugs
mailing list