Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=6cee77dbf29e3c4c2cf2ce16621759accc76891e Commit: 6cee77dbf29e3c4c2cf2ce16621759accc76891e Parent: 38c8947c1b46e5985df36435a6f21ef6a7e8a4b8 Author: Ralf Baechle <[EMAIL PROTECTED]> AuthorDate: Mon Mar 12 15:52:52 2007 -0700 Committer: David S. Miller <[EMAIL PROTECTED]> CommitDate: Mon Mar 12 15:52:52 2007 -0700
[ROSE]: Remove ourselves from waitqueue when receiving a signal Signed-off-by: Ralf Baechle <[EMAIL PROTECTED]> Signed-off-by: David S. Miller <[EMAIL PROTECTED]> --- 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 8c34f1c..596b302 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; - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html