freebsd-dev/sys/netnatm
Robert Watson 23801379f0 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.
2006-03-17 18:25:57 +00:00
..
natm_pcb.c Lock down netnatm and mark as MPSAFE: 2005-07-18 16:55:46 +00:00
natm_proto.c Use sparse initializers for "struct domain" and "struct protosw", 2005-11-09 13:29:16 +00:00
natm.c Change so_pcb invariants in netnatm, such that netnatm sockets always have 2006-03-17 18:25:57 +00:00
natm.h Remove FreeBSD 2.2 protocol usrreq compatibility code. 2005-07-19 13:36:39 +00:00