Re: [PATCH 1/3] Remove ourselves from waitqueue when receiving a signal

2007-03-12 Thread David Miller
From: [EMAIL PROTECTED]
Date: Sun, 11 Mar 2007 22:53:20 +

> Signed-off-by: Ralf Baechle <[EMAIL PROTECTED]>

Applied.
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[PATCH 1/3] Remove ourselves from waitqueue when receiving a signal

2007-03-11 Thread ralf
Signed-off-by: Ralf Baechle <[EMAIL PROTECTED]>

 net/rose/af_rose.c |2 ++
 1 file changed, 2 insertions(+)

Index: linux-net/net/rose/af_rose.c
===
--- linux-net.orig/net/rose/af_rose.c
+++ linux-net/net/rose/af_rose.c
@@ -877,6 +877,8 @@ static int rose_accept(struct socket *so
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 netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html