You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
[ROSE]: Remove ourselves from waitqueue when receiving a signal
Signed-off-by: Ralf Baechle <ralf@linux-mips.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
38c8947c1b
commit
6cee77dbf2
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user