diff options
author | rwatson <rwatson@FreeBSD.org> | 2006-08-05 14:14:34 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2006-08-05 14:14:34 +0000 |
commit | e3e9398c0652a3049aacfc92978c758c6cd5bc7d (patch) | |
tree | f427e6c64e39e1d1d1a2281045b7f8dda2fd0908 /sys/netatalk | |
parent | e39de9bd5c5f4f79e4ce5382bba0b9e1a1262b79 (diff) | |
download | FreeBSD-src-e3e9398c0652a3049aacfc92978c758c6cd5bc7d.zip FreeBSD-src-e3e9398c0652a3049aacfc92978c758c6cd5bc7d.tar.gz |
Since soisdisconnected() is no longer called in pru_detach(), call it
near consumers of at_pcbdisconnect() (_close, _abort).
Diffstat (limited to 'sys/netatalk')
-rw-r--r-- | sys/netatalk/ddp_usrreq.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 |