Page MenuHomeFreeBSD

D34223.id102553.diff
No OneTemporary

D34223.id102553.diff

Index: sys/dev/iscsi/icl_soft_proxy.c
===================================================================
--- sys/dev/iscsi/icl_soft_proxy.c
+++ sys/dev/iscsi/icl_soft_proxy.c
@@ -111,7 +111,6 @@
{
struct socket *so;
int error;
- int interrupted = 0;
error = socreate(domain, &so, socktype, protocol,
curthread->td_ucred, curthread);
@@ -136,11 +135,8 @@
while ((so->so_state & SS_ISCONNECTING) && so->so_error == 0) {
error = msleep(&so->so_timeo, SOCK_MTX(so), PSOCK | PCATCH,
"icl_connect", 0);
- if (error) {
- if (error == EINTR || error == ERESTART)
- interrupted = 1;
+ if (error)
break;
- }
}
if (error == 0) {
error = so->so_error;

File Metadata

Mime Type
text/plain
Expires
Thu, Jan 22, 1:37 PM (6 h, 8 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27849854
Default Alt Text
D34223.id102553.diff (687 B)

Event Timeline