diff options
author | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2000-01-15 19:05:31 +0000 |
---|---|---|
committer | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2000-01-15 19:05:31 +0000 |
commit | 0f1ab5ea888840717291894a1af40259cd57b831 (patch) | |
tree | 9a5bb696fc455614c43b5f790085ca6712510ca4 /sys/netipx | |
parent | d753b63d01e92215b0f8318fc076ee144f60564c (diff) |
PRU_DETACH does not return ENOTCONN. If ipxp is NULL, EINVAL will be
returned way above.
Diffstat (limited to 'sys/netipx')
-rw-r--r-- | sys/netipx/spx_usrreq.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/netipx/spx_usrreq.c b/sys/netipx/spx_usrreq.c index 060b90d2ec8..167eb0f77f6 100644 --- a/sys/netipx/spx_usrreq.c +++ b/sys/netipx/spx_usrreq.c @@ -1,4 +1,4 @@ -/* $OpenBSD: spx_usrreq.c,v 1.11 2000/01/15 09:23:14 fgsch Exp $ */ +/* $OpenBSD: spx_usrreq.c,v 1.12 2000/01/15 19:05:30 fgsch Exp $ */ /*- * @@ -1337,10 +1337,6 @@ spx_usrreq(so, req, m, nam, controlp) break; case PRU_DETACH: - if (ipxp == NULL) { - error = ENOTCONN; - break; - } if (cb->s_state > TCPS_LISTEN) cb = spx_disconnect(cb); else |