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

Next file: linux/net/ipv4/af_inet.c
Previous file: linux/net/core/datagram.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.56/linux/net/core/sock.c linux/net/core/sock.c
@@ -674,7 +674,7 @@
 			{
 				sk->socket->flags &= ~SO_NOSPACE;
 				interruptible_sleep_on(sk->sleep);
-				if (current->signal & ~current->blocked) 
+				if (signal_pending(current)) 
 				{
 					sti();
 					*errcode = -ERESTARTSYS;

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