diff options
Diffstat (limited to 'net/rose/af_rose.c')
-rw-r--r-- | net/rose/af_rose.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/rose/af_rose.c b/net/rose/af_rose.c index 8c34f1ca6c8..596b302d0e4 100644 --- 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; |