diff options
| author | Rodney W. Grimes <rgrimes@FreeBSD.org> | 1995-05-30 08:16:23 +0000 |
|---|---|---|
| committer | Rodney W. Grimes <rgrimes@FreeBSD.org> | 1995-05-30 08:16:23 +0000 |
| commit | 9b2e535452929d6f2f798a2c01b23b1f547a0b0f (patch) | |
| tree | 176f04f674860c7cfae9ac5d2ff4d4e1d73cb2b7 /sys/kern/uipc_usrreq.c | |
| parent | 44204187ec133a0ab7bd77c8d974ad5afd4d88b4 (diff) | |
Notes
Diffstat (limited to 'sys/kern/uipc_usrreq.c')
| -rw-r--r-- | sys/kern/uipc_usrreq.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/kern/uipc_usrreq.c b/sys/kern/uipc_usrreq.c index f4255265d496..a54a46a20dae 100644 --- a/sys/kern/uipc_usrreq.c +++ b/sys/kern/uipc_usrreq.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * From: @(#)uipc_usrreq.c 8.3 (Berkeley) 1/4/94 - * $Id: uipc_usrreq.c,v 1.7 1995/02/15 11:30:35 davidg Exp $ + * $Id: uipc_usrreq.c,v 1.8 1995/05/11 00:13:06 wollman Exp $ */ #include <sys/param.h> @@ -228,7 +228,7 @@ uipc_usrreq(so, req, m, nam, control) break; } } - + if (so->so_state & SS_CANTSENDMORE) { error = EPIPE; break; @@ -348,7 +348,7 @@ unp_attach(so) register struct mbuf *m; register struct unpcb *unp; int error; - + if (so->so_snd.sb_hiwat == 0 || so->so_rcv.sb_hiwat == 0) { switch (so->so_type) { @@ -379,7 +379,7 @@ void unp_detach(unp) register struct unpcb *unp; { - + if (unp->unp_vnode) { unp->unp_vnode->v_socket = 0; vrele(unp->unp_vnode); |
