summaryrefslogtreecommitdiffstats
path: root/lib/libtelnet
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2006-03-17 18:25:57 +0000
committerrwatson <rwatson@FreeBSD.org>2006-03-17 18:25:57 +0000
commita251964eaca5833ff2c4651fe4f7f8cac7199da5 (patch)
tree5d13156e0bbb6691f66b76486050bc10def11b02 /lib/libtelnet
parente4e5cf764ad870577dada1df3cdb4e4113d4109c (diff)
downloadFreeBSD-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
OpenPOWER on IntegriCloud