cvs commit: src/sys/netinet tcp_timer.c

Robert Watson rwatson at FreeBSD.org
Fri May 5 06:50:24 UTC 2006


rwatson     2006-05-05 06:50:23 UTC

  FreeBSD src repository

  Modified files:
    sys/netinet          tcp_timer.c 
  Log:
  Only return (tw) from tcp_twclose() if reuse is passed, otherwise
  return NULL.  In principle this shouldn't change the behavior, but
  avoids returning a potentially invalid/inappropriate pointer to
  the caller.
  
  Found with:     Coverity Prevent (tm)
  Submitted by:   pjd
  MFC after:      3 months
  
  Revision  Changes    Path
  1.79      +1 -1      src/sys/netinet/tcp_timer.c


More information about the cvs-src mailing list