diff options
author | Robert Watson <rwatson@FreeBSD.org> | 2006-03-17 18:25:57 +0000 |
---|---|---|
committer | Robert Watson <rwatson@FreeBSD.org> | 2006-03-17 18:25:57 +0000 |
commit | 23801379f0e7cdddcb057ea05fe79b340a01dbf5 (patch) | |
tree | 5d13156e0bbb6691f66b76486050bc10def11b02 /bin/csh | |
parent | fad8387468046da02399b01a35897cb671687115 (diff) | |
download | src-23801379f0e7cdddcb057ea05fe79b340a01dbf5.tar.gz src-23801379f0e7cdddcb057ea05fe79b340a01dbf5.zip |
Change so_pcb invariants in netnatm, such that netnatm sockets always have
pcb's allocated:
- Universally ensure (and assert) that so_pcb is not NULL, removing lots
of checks and error cases. Don't free the pcb without clearing the
so_pcb pointer.
- Don't try to free the socket in pru_detach(), since the caller will
immediately free the socket.
- Do retain the sotryfree() in pru_abort() for now, although eventually
the caller will do it unconditionally.
Notes
Notes:
svn path=/head/; revision=156812
Diffstat (limited to 'bin/csh')
0 files changed, 0 insertions, 0 deletions