diff options
author | rwatson <rwatson@FreeBSD.org> | 2006-04-22 19:10:02 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2006-04-22 19:10:02 +0000 |
commit | 2a5f091dc309c562c765dc1dc859a4fea1bdef1e (patch) | |
tree | fd7b7f28d6c54d3616a64c3c4ed4605cff8fd6b9 /contrib/diff | |
parent | 08414eb70ca4391b529a9ca57978a1364a8a79b9 (diff) | |
download | FreeBSD-src-2a5f091dc309c562c765dc1dc859a4fea1bdef1e.zip FreeBSD-src-2a5f091dc309c562c765dc1dc859a4fea1bdef1e.tar.gz |
Remove pcbinfo locking from in_setsockaddr() and in_setpeeraddr();
holding the inpcb lock is sufficient to prevent races in reading
the address and port, as both the inpcb lock and pcbinfo lock are
required to change the address/port.
Improve consistency of spelling in assertions about inp != NULL.
MFC after: 3 months
Diffstat (limited to 'contrib/diff')
0 files changed, 0 insertions, 0 deletions