cvs commit: src/sys/netinet in_pcb.c tcp_input.c tcp_subr.c

Robert Watson rwatson at FreeBSD.org
Tue Apr 4 12:26:08 UTC 2006


rwatson     2006-04-04 12:26:07 UTC

  FreeBSD src repository

  Modified files:
    sys/netinet          in_pcb.c tcp_input.c tcp_subr.c 
  Log:
  Before dereferencing intotw() when INP_TIMEWAIT, check for inp_ppcb being
  NULL.  We currently do allow this to happen, but may want to remove that
  possibility in the future.  This case can occur when a socket is left
  open after TCP wraps up, and the timewait state is recycled.  This will
  be cleaned up in the future.
  
  Found by:       Kazuaki Oda <kaakun at highway dot ne dot jp>
  MFC after:      3 months
  
  Revision  Changes    Path
  1.172     +14 -4     src/sys/netinet/in_pcb.c
  1.295     +9 -0      src/sys/netinet/tcp_input.c
  1.245     +15 -5     src/sys/netinet/tcp_subr.c


More information about the cvs-src mailing list