diff options
author | bz <bz@FreeBSD.org> | 2008-10-04 15:06:34 +0000 |
---|---|---|
committer | bz <bz@FreeBSD.org> | 2008-10-04 15:06:34 +0000 |
commit | 77f80e067299bffd274515d2db4724fd7d914bec (patch) | |
tree | 798bd6e57445e0123df29550d1712a406a9067ef /sys/netncp | |
parent | 848f285a655e18bcbd21886fa35dbab3286b54e4 (diff) | |
download | FreeBSD-src-77f80e067299bffd274515d2db4724fd7d914bec.zip FreeBSD-src-77f80e067299bffd274515d2db4724fd7d914bec.tar.gz |
Cache so_cred as inp_cred in the inpcb.
This means that inp_cred is always there, even after the socket
has gone away. It also means that it is constant for the lifetime
of the inp.
Both facts lead to simpler code and possibly less locking.
Suggested by: rwatson
Reviewed by: rwatson
MFC after: 6 weeks
X-MFC Note: use a inp_pspare for inp_cred
Diffstat (limited to 'sys/netncp')
0 files changed, 0 insertions, 0 deletions