[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>
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 @@
 			lock_sock(sk);
 			continue;
 		}
+		current->state = TASK_RUNNING;
+		remove_wait_queue(sk->sk_sleep, &wait);
 		return -ERESTARTSYS;
 	}
 	current->state = TASK_RUNNING;