Date: Wed, 18 Jul 2007 11:23:52 +0400 From: Eygene Ryabinkin <rea-fbsd@codelabs.ru> To: Andre Oppermann <andre@freebsd.org> Cc: Julian Elischer <julian@ironport.com>, FreeBSD Net <freebsd-net@freebsd.org>, Julian Elischer <julian@elischer.org> Subject: Re: Wierd networking. Message-ID: <20070718072352.GE4053@void.codelabs.ru> In-Reply-To: <469DB9EB.3090703@freebsd.org> References: <469D4C9D.7090302@ironport.com> <469D4FB6.9040609@elischer.org> <3DBBD4E3-ABEA-451A-8E6A-02E9CBAD6A37@mac.com> <20070718055228.GA4053@void.codelabs.ru> <469DB9EB.3090703@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Andre, good day. Wed, Jul 18, 2007 at 08:57:47AM +0200, Andre Oppermann wrote: > >Seems like it is the effect of the SS_NOFDREF check in the > >netinet/tcp_input.c, at least it is present in the rev. 1.281.2.5. > >See the post > > http://lists.freebsd.org/pipermail/freebsd-current/2007-July/074837.html > >I believe it discuisses the same problem, but for -CURRENT. In > >short, Squid child closes the descriptor, so connection is present > >in the TCP/IP stack only. And SS_NOFDREF check provokes RST and > >invokes tcp_close(). > > I think your analysis is correct. Have to find out who to deal properly > with a closed socket before the TCP is closed as well. OK, please, drop a letter when you will produce some patch or will find out how to deal with this -- I am keen to test and/or discuiss. Thank you! -- Eygene
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070718072352.GE4053>