cvs commit: src/sys/netinet tcp_subr.c
Steve Kargl
sgk at troutmask.apl.washington.edu
Wed Aug 2 17:07:14 UTC 2006
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
More information about the cvs-src
mailing list