diff options
author | rwatson <rwatson@FreeBSD.org> | 2007-11-24 18:43:59 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2007-11-24 18:43:59 +0000 |
commit | a32c33d2c7cc46114e370570f3d7be98a5ea2f03 (patch) | |
tree | cd37a51fcec4d18160aa1ab3681a42e5c6392145 /lib/libpmc | |
parent | 3a9e4de211c8fa6102f9910b9d0c803c44ba5370 (diff) | |
download | FreeBSD-src-a32c33d2c7cc46114e370570f3d7be98a5ea2f03.zip FreeBSD-src-a32c33d2c7cc46114e370570f3d7be98a5ea2f03.tar.gz |
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>
Diffstat (limited to 'lib/libpmc')
0 files changed, 0 insertions, 0 deletions