Date: Sat, 1 Apr 2006 23:53:25 +0000 (UTC) From: Robert Watson <rwatson@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/netinet tcp_subr.c tcp_usrreq.c Message-ID: <200604012353.k31NrQYp072632@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rwatson 2006-04-01 23:53:25 UTC FreeBSD src repository Modified files: sys/netinet tcp_subr.c tcp_usrreq.c Log: Properly handle an edge case previously not handled correctly: a socket can have a tcp connection that has entered time wait attached to it, in the event that shutdown() is called on the socket and the FINs properly exchange before close(). In this case we don't detach or free the inpcb, just leave the tcptw detached and freed, but we must release the inpcb lock (which we didn't previously). MFC after: 3 months Revision Changes Path 1.239 +37 -20 src/sys/netinet/tcp_subr.c 1.132 +5 -2 src/sys/netinet/tcp_usrreq.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200604012353.k31NrQYp072632>