patch-2.1.57 linux/net/rose/af_rose.c
Next file: linux/net/sunrpc/clnt.c
Previous file: linux/net/netrom/af_netrom.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Sat Sep 20 14:51:55 1997
- Orig file:
v2.1.56/linux/net/rose/af_rose.c
- Orig date:
Thu Sep 4 17:07:32 1997
diff -u --recursive --new-file v2.1.56/linux/net/rose/af_rose.c linux/net/rose/af_rose.c
@@ -787,7 +787,7 @@
*/
while (sk->state == TCP_SYN_SENT) {
interruptible_sleep_on(sk->sleep);
- if (current->signal & ~current->blocked) {
+ if (signal_pending(current)) {
sti();
return -ERESTARTSYS;
}
@@ -838,7 +838,7 @@
return -EWOULDBLOCK;
}
interruptible_sleep_on(sk->sleep);
- if (current->signal & ~current->blocked) {
+ if (signal_pending(current)) {
sti();
return -ERESTARTSYS;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov