diff options
author | rwatson <rwatson@FreeBSD.org> | 2004-11-07 19:19:35 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2004-11-07 19:19:35 +0000 |
commit | 185ec80b05a613b10d5aae2da64db3082aea513d (patch) | |
tree | 03dff8c74509dc42af9bfc00eaf78b2b60b10b2a /usr.bin | |
parent | 71269597afb1f0a3b1547454c959449b2263d128 (diff) | |
download | FreeBSD-src-185ec80b05a613b10d5aae2da64db3082aea513d.zip FreeBSD-src-185ec80b05a613b10d5aae2da64db3082aea513d.tar.gz |
Do some re-sorting of TCP pcbinfo locking and assertions: make sure to
retain the pcbinfo lock until we're done using a pcb in the in-bound
path, as the pcbinfo lock acts as a pseuo-reference to prevent the pcb
from potentially being recycled. Clean up assertions and make sure to
assert that the pcbinfo is locked at the head of code subsections where
it is needed. Free the mbuf at the end of tcp_input after releasing
any held locks to reduce the time the locks are held.
MFC after: 3 weeks
Diffstat (limited to 'usr.bin')
0 files changed, 0 insertions, 0 deletions