Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Aug 2008 14:22:12 +0000 (UTC)
From:      "Bjoern A. Zeeb" <bz@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/netinet tcp_syncache.c
Message-ID:  <200808231422.m7NEMTTX003746@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
bz          2008-08-23 14:22:12 UTC

  FreeBSD src repository

  Modified files:
    sys/netinet          tcp_syncache.c 
  Log:
  SVN rev 182056 on 2008-08-23 14:22:12Z by bz
  
  Cache the cred locally in _syncache_add() while holding the locks, so
  we can be sure that it's valid.
  In case we abort early free it again else put it into the syncache.
  
  We need the cred in the syncache to be able to restrict what will be
  exportet by the sysctl helper function syncache_pcblist() (to netstat)
  within jails.
  
  PR:             kern/126493
  Reviewed by:    rwatson (earlier versions)
  MFC after:      3 days
  
  Revision  Changes    Path
  1.154     +12 -0     src/sys/netinet/tcp_syncache.c



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