misc/66629: socket connecting with itself (race condition?)
Maxim Konovalov
maxim at macomnet.ru
Fri May 14 04:00:49 PDT 2004
The following reply was made to PR misc/66629; it has been noted by GNATS.
From: Maxim Konovalov <maxim at macomnet.ru>
To: Fabien MENEMENLIS <fabien at iliad.fr>
Cc: bug-followup at freebsd.org
Subject: Re: misc/66629: socket connecting with itself (race condition?)
Date: Fri, 14 May 2004 14:58:17 +0400 (MSD)
On Fri, 14 May 2004, 03:43-0700, Fabien MENEMENLIS wrote:
>
> >Number: 66629
> >Category: misc
> >Synopsis: socket connecting with itself (race condition?)
[...]
> >Environment:
> FreeBSD huge.dir.com 4.9-STABLE FreeBSD 4.9-STABLE #2: Fri Mar 5 15:58:16 CET 2004 fabien at huge.iliad.fr:/usr/obj/usr/src/sys/DUAL i386
>
> >Description:
> When connecting to a closed local port in PF_INET space with many clients, it happens once in a while that connect() succeeds. The output of netstat -A for the given connection is then:
> ea2c0e40 tcp4 0 0 localhost.4555 localhost.4555 ESTABLISHED
It's expected behaviour called "simultaneous open".
> I've not been able to reproduce the problem on a 5.2.1 environment.
Probably due to differences in portranges between HEAD and RELENG_4.
[...]
--
Maxim Konovalov
More information about the freebsd-bugs
mailing list