cvs commit: src/sys/netinet tcp_syncache.c

Bjoern A. Zeeb bz at
Sat Aug 30 16:49:52 UTC 2008

bz          2008-08-30 16:49:36 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_7)
    sys/netinet          tcp_syncache.c 
  SVN rev 182482 on 2008-08-30 16:49:36Z by bz
  MFC: svn r182056, cvs 1.154 tcp_syncache.c
    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
  Revision    Changes    Path  +12 -0     src/sys/netinet/tcp_syncache.c

More information about the cvs-all mailing list