Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Aug 2006 10:07:12 -0700
From:      Steve Kargl <sgk@troutmask.apl.washington.edu>
To:        Robert Watson <rwatson@freebsd.org>
Cc:        cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org
Subject:   Re: cvs commit: src/sys/netinet tcp_subr.c
Message-ID:  <20060802170712.GB970@troutmask.apl.washington.edu>
In-Reply-To: <200608021618.k72GI5Bc069006@repoman.freebsd.org>
References:  <200608021618.k72GI5Bc069006@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Aug 02, 2006 at 04:18:05PM +0000, Robert Watson wrote:
> 
>   Modified files:
>     sys/netinet          tcp_subr.c 
>   Log:
>   Move soisdisconnected() in tcp_discardcb() to one of its calling contexts,
>   tcp_twstart(), but not to the other, tcp_detach(), as the socket is
>   already being torn down and therefore there are no listeners.  This avoids
>   a panic if kqueue state is registered on the socket at close(), and
>   eliminates to XXX comments.  There is one case remaining in which
>   tcp_discardcb() reaches up to the socket layer as part of the TCP host
>   cache, which would be good to avoid.
>   

Thanks!  You beat me to my bug report.

-- 
Steve



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060802170712.GB970>