bz c38717bcc7 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
2008-08-23 14:22:12 +00:00
..
2008-08-22 20:28:19 +00:00
2008-08-23 04:58:11 +00:00
2008-08-22 20:28:19 +00:00
2008-08-23 07:46:58 +00:00
2008-08-23 01:20:36 +00:00
2008-08-10 12:15:36 +00:00
2008-08-20 09:20:12 +00:00