diff options
-rw-r--r-- | sys/netipx/spx_usrreq.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/netipx/spx_usrreq.c b/sys/netipx/spx_usrreq.c index def6eb1..3b42731 100644 --- a/sys/netipx/spx_usrreq.c +++ b/sys/netipx/spx_usrreq.c @@ -1352,8 +1352,6 @@ spx_attach(so, proto, td) ipxp = sotoipxpcb(so); cb = ipxtospxpcb(ipxp); - if (ipxp != NULL) - return (EISCONN); IPX_LIST_LOCK(); error = ipx_pcballoc(so, &ipxpcb_list, td); if (error) @@ -1483,8 +1481,6 @@ spx_detach(so) ipxp = sotoipxpcb(so); cb = ipxtospxpcb(ipxp); - if (ipxp == NULL) - return (ENOTCONN); IPX_LIST_LOCK(); IPX_LOCK(ipxp); if (cb->s_state > TCPS_LISTEN) |