diff options
author | rwatson <rwatson@FreeBSD.org> | 2006-03-17 18:25:57 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2006-03-17 18:25:57 +0000 |
commit | a251964eaca5833ff2c4651fe4f7f8cac7199da5 (patch) | |
tree | 5d13156e0bbb6691f66b76486050bc10def11b02 /lib/libtelnet | |
parent | e4e5cf764ad870577dada1df3cdb4e4113d4109c (diff) | |
download | FreeBSD-src-a251964eaca5833ff2c4651fe4f7f8cac7199da5.zip FreeBSD-src-a251964eaca5833ff2c4651fe4f7f8cac7199da5.tar.gz |
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.
Diffstat (limited to 'lib/libtelnet')
0 files changed, 0 insertions, 0 deletions