patch-2.1.57 linux/net/x25/af_x25.c
Next file: linux/scripts/ksymoops.cc
Previous file: linux/net/unix/af_unix.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/x25/af_x25.c
- Orig date:
Thu Sep 4 17:07:32 1997
diff -u --recursive --new-file v2.1.56/linux/net/x25/af_x25.c linux/net/x25/af_x25.c
@@ -653,7 +653,7 @@
*/
while (sk->state == TCP_SYN_SENT) {
interruptible_sleep_on(sk->sleep);
- if (current->signal & ~current->blocked) {
+ if (signal_pending(current)) {
sti();
return -ERESTARTSYS;
}
@@ -704,7 +704,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