Date: Fri, 14 May 2004 04:00:47 -0700 (PDT) From: Maxim Konovalov <maxim@macomnet.ru> To: freebsd-bugs@FreeBSD.org Subject: Re: misc/66629: socket connecting with itself (race condition?) Message-ID: <200405141100.i4EB0lcC077614@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR misc/66629; it has been noted by GNATS. From: Maxim Konovalov <maxim@macomnet.ru> To: Fabien MENEMENLIS <fabien@iliad.fr> Cc: bug-followup@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@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200405141100.i4EB0lcC077614>