From e3e9398c0652a3049aacfc92978c758c6cd5bc7d Mon Sep 17 00:00:00 2001 From: rwatson Date: Sat, 5 Aug 2006 14:14:34 +0000 Subject: Since soisdisconnected() is no longer called in pru_detach(), call it near consumers of at_pcbdisconnect() (_close, _abort). --- sys/netatalk/ddp_usrreq.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sys') diff --git a/sys/netatalk/ddp_usrreq.c b/sys/netatalk/ddp_usrreq.c index 1876856..812f1e0 100644 --- a/sys/netatalk/ddp_usrreq.c +++ b/sys/netatalk/ddp_usrreq.c @@ -217,6 +217,7 @@ ddp_abort(struct socket *so) DDP_LOCK(ddp); at_pcbdisconnect(ddp); DDP_UNLOCK(ddp); + soisdisconnected(so); } static void @@ -230,6 +231,7 @@ ddp_close(struct socket *so) DDP_LOCK(ddp); at_pcbdisconnect(ddp); DDP_UNLOCK(ddp); + soisdisconnected(so); } void -- cgit v1.1