summaryrefslogtreecommitdiffstats
path: root/sys/netatalk
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2006-08-02 16:22:34 +0000
committerrwatson <rwatson@FreeBSD.org>2006-08-02 16:22:34 +0000
commit317b36ad9ad9f31cb336ea474859c6c96e3afa39 (patch)
tree89b8fa007a7a85dd4d51f4d79f50f76ac6890d23 /sys/netatalk
parent6b1ac9e903103d45d09ca423857dfbfa987d11d7 (diff)
downloadFreeBSD-src-317b36ad9ad9f31cb336ea474859c6c96e3afa39.zip
FreeBSD-src-317b36ad9ad9f31cb336ea474859c6c96e3afa39.tar.gz
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.
Diffstat (limited to 'sys/netatalk')
-rw-r--r--sys/netatalk/ddp_pcb.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/netatalk/ddp_pcb.c b/sys/netatalk/ddp_pcb.c
index 3c8ac96..66ece43 100644
--- a/sys/netatalk/ddp_pcb.c
+++ b/sys/netatalk/ddp_pcb.c
@@ -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 */
OpenPOWER on IntegriCloud