Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 May 2006 06:50:23 +0000 (UTC)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/netinet tcp_timer.c
Message-ID:  <200605050650.k456oNKL054164@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200605050650.k456oNKL054164>