Remove call to soisdisconnected() in at_pcbdetach(): by the time the

socket is being detached, there are no consumers left worth notifying
about the disconnect.
This commit is contained in:
rwatson 2006-08-02 16:22:34 +00:00
parent 6b1ac9e903
commit 317b36ad9a

View File

@ -304,8 +304,6 @@ at_pcbdetach(struct socket *so, struct ddpcb *ddp)
DDP_LOCK_ASSERT(ddp);
KASSERT(so->so_pcb != NULL, ("at_pcbdetach: so_pcb == NULL"));
/* XXXRW: Why bother to disconnect it now? */
soisdisconnected(so);
so->so_pcb = NULL;
/* remove ddp from ddp_ports list */