patch-2.1.57 linux/net/core/datagram.c

Next file: linux/net/core/sock.c
Previous file: linux/net/ax25/af_ax25.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.56/linux/net/core/datagram.c linux/net/core/datagram.c
@@ -114,7 +114,7 @@
 
 		/* handle signals */
 		error = -ERESTARTSYS;
-		if (current->signal & ~current->blocked)
+		if (signal_pending(current))
 			goto no_packet;
 
 		/* User doesn't want to wait */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov