cvs commit: src/sys/netinet tcp_subr.c

Robert Watson rwatson at FreeBSD.org
Tue Nov 27 04:22:19 PST 2007


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


More information about the cvs-all mailing list