cvs commit: src/sys/netinet tcp_subr.c tcp_usrreq.c
Robert Watson
rwatson at FreeBSD.org
Sat Apr 1 23:53:27 UTC 2006
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
More information about the cvs-src
mailing list