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:
parent
6b1ac9e903
commit
317b36ad9a
@ -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 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user