projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
38c8947
)
[ROSE]: Remove ourselves from waitqueue when receiving a signal
author
Ralf Baechle
<ralf@linux-mips.org>
Mon, 12 Mar 2007 22:52:52 +0000
(15:52 -0700)
committer
David S. Miller
<davem@davemloft.net>
Mon, 12 Mar 2007 22:52:52 +0000
(15:52 -0700)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/rose/af_rose.c
patch
|
blob
|
blame
|
history
diff --git
a/net/rose/af_rose.c
b/net/rose/af_rose.c
index 8c34f1ca6c8c8eb8486d084bbd1e17eb6eca224c..596b302d0e474c7193bfc8f0134b1f73bda910da 100644
(file)
--- a/
net/rose/af_rose.c
+++ b/
net/rose/af_rose.c
@@
-877,6
+877,8
@@
static int rose_accept(struct socket *sock, struct socket *newsock, int flags)
lock_sock(sk);
continue;
}
+ current->state = TASK_RUNNING;
+ remove_wait_queue(sk->sk_sleep, &wait);
return -ERESTARTSYS;
}
current->state = TASK_RUNNING;