cvs commit: src/sys/netinet tcp_subr.c

Robert Watson rwatson at FreeBSD.org
Mon Apr 3 14:07:51 UTC 2006


rwatson     2006-04-03 14:07:50 UTC

  FreeBSD src repository

  Modified files:
    sys/netinet          tcp_subr.c 
  Log:
  In TCP notify routines, check inpcb for INP_TIMEWAIT and INP_DROPPED.
  The INP_DROPPED check replaces the current NULL checks; the INP_TIMEWAIT
  checks appear to have always been required, but not been there, which
  is/was a bug.  This avoids unconditionally casting of in_ppcb to a tcpcb,
  when it may be a twtcb, which may have resulted in obscure ICMP-related
  panics in earlier releases.
  
  MFC after:      3 months
  
  Revision  Changes    Path
  1.244     +81 -66    src/sys/netinet/tcp_subr.c


More information about the cvs-src mailing list