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
-  Lines: 16
 -  Date:
Tue Sep  1 11:33:10 1998
 -  Orig file: 
v2.1.119/linux/net/sunrpc/svcsock.c
 -  Orig date: 
Fri May  8 23:14:58 1998
 
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, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov