Date: Sat, 30 Aug 2008 16:49:36 +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: <200808301649.m7UGnqG1068859@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
bz 2008-08-30 16:49:36 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/netinet tcp_syncache.c Log: 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 1.130.2.15 +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?200808301649.m7UGnqG1068859>