patch-2.1.120 linux/net/sunrpc/svcsock.c

Next file: linux/net/unix/af_unix.c
Previous file: linux/net/sunrpc/sched.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.119/linux/net/sunrpc/svcsock.c linux/net/sunrpc/svcsock.c
@@ -736,6 +736,7 @@
 	rqstp->rq_argbuf = rqstp->rq_defbuf;
 	rqstp->rq_resbuf = rqstp->rq_defbuf;
 
+	checksignals();
 	if (signalled())
 		return -EINTR;
 
@@ -754,6 +755,7 @@
 		 * We have to be able to interrupt this wait
 		 * to bring down the daemons ...
 		 */
+		checksignals();
 		current->state = TASK_INTERRUPTIBLE;
 		add_wait_queue(&rqstp->rq_wait, &wait);
 		end_bh_atomic();

FUNET's LINUX-ADM group, [email protected]
TCL-scripts by Sam Shen, [email protected]