De-spl kern_connect().

MFC after:	3 days
This commit is contained in:
rwatson 2005-02-18 19:37:36 +00:00
parent 2f72fe3a9d
commit 107f79ba9e

View File

@ -527,7 +527,6 @@ kern_connect(td, fd, sa)
error = EINPROGRESS;
goto done1;
}
s = splnet();
SOCK_LOCK(so);
while ((so->so_state & SS_ISCONNECTING) && so->so_error == 0) {
error = msleep(&so->so_timeo, SOCK_MTX(so), PSOCK | PCATCH,
@ -543,7 +542,6 @@ kern_connect(td, fd, sa)
so->so_error = 0;
}
SOCK_UNLOCK(so);
splx(s);
bad:
if (!interrupted)
so->so_state &= ~SS_ISCONNECTING;