cvs commit: src/sys/netinet tcp_subr.c
Robert Watson
rwatson at FreeBSD.org
Sat Nov 24 10:44:00 PST 2007
rwatson 2007-11-24 18:43:59 UTC
FreeBSD src repository
Modified files:
sys/netinet tcp_subr.c
Log:
More carefully handle various cases in sysctl_drop(), such as unlocking
the inpcb when there's an inpcb without associated timewait state, and
not unlocking when the inpcb has been freed. This avoids a kernel panic
when tcpdrop(8) is run on a socket in the TIMEWAIT state.
MFC after: 3 days
Reported by: Rako <rako29 at gmail dot com>
Revision Changes Path
1.302 +7 -3 src/sys/netinet/tcp_subr.c
More information about the cvs-src
mailing list