cvs commit: src/sys/netinet tcp_subr.c

From: Robert Watson <rwatson_at_FreeBSD.org>
Date: Tue, 27 Nov 2007 12:22:17 +0000 (UTC)
rwatson     2007-11-27 12:22:17 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_7)
    sys/netinet          tcp_subr.c 
  Log:
  Merge tcp_subr.c:1.302 from HEAD to RELENG_7:
  
    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.
  
    Reported by:    Rako <rako29 at gmail dot com>
  
  Approved by:    re (kensmith)
  
  Revision   Changes    Path
  1.300.2.1  +7 -3      src/sys/netinet/tcp_subr.c
Received on Tue Nov 27 2007 - 12:22:19 UTC