cvs commit: src/sys/netinet tcp_syncache.c

Bjoern A. Zeeb bz at FreeBSD.org
Sat Aug 23 14:22:29 UTC 2008


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


More information about the cvs-all mailing list