patch-2.1.69 linux/net/netlink/af_netlink.c

Next file: linux/net/sunrpc/svcsock.c
Previous file: linux/mm/filemap.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.68/linux/net/netlink/af_netlink.c linux/net/netlink/af_netlink.c
@@ -377,7 +377,7 @@
 			netlink_unlock(sk);
 			sti();
 
-			if (current->signal & ~current->blocked) {
+			if (signal_pending(current)) {
 				kfree_skb(skb, 0);
 				return -ERESTARTSYS;
 			}

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