Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Feb 2005 00:40:39 +0000 (GMT)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Bill Fenner <fenner@research.att.com>
Cc:        net@freebsd.org
Subject:   Re: solisten() question: why do we check for completed connections?
Message-ID:  <Pine.NEB.3.96L.1050218004000.38170i-100000@fledge.watson.org>
In-Reply-To: <200502180037.j1I0bu9F001044@bright.research.att.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 17 Feb 2005, Bill Fenner wrote:

> which looks like it's initializing q0 and q to be circular queues, which
> has to only happen once, and also setting SO_ACCEPTCONN; since nothing
> ever turns off SO_ACCEPTCONN, this is not something that has to happen
> only once.  When the stuff that had to happen only once got removed, the
> conditional remained. 
> 
> So, I'd say that setting SO_ACCEPTCONN is required, but the conditional
> is not.  I don't know if that helps your race or not. 

This sounds like just the explanation I was looking for.

Thanks,

Robert N M Watson




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.96L.1050218004000.38170i-100000>