Date: Sat, 24 Nov 2007 18:43:59 +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 Message-ID: <200711241843.lAOIhxuX062287@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200711241843.lAOIhxuX062287>
