patch-2.1.57 linux/net/netlink.c

Next file: linux/net/netrom/af_netrom.c
Previous file: linux/net/ipv4/tcp.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.56/linux/net/netlink.c linux/net/netlink.c
@@ -111,7 +111,7 @@
 			return -EAGAIN;
 		}
 		interruptible_sleep_on(&read_space_wait[minor]);
-		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