patch-2.3.21 linux/net/decnet/dn_nsp_in.c

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

diff -u --recursive --new-file v2.3.20/linux/net/decnet/dn_nsp_in.c linux/net/decnet/dn_nsp_in.c
@@ -431,7 +431,8 @@
 		struct socket *sock = sk->socket;
 		wake_up_interruptible(sk->sleep);
 		if (!(sock->flags & SO_WAITDATA) && sock->fasync_list)
-			kill_fasync(sock->fasync_list, sig);
+			kill_fasync(sock->fasync_list, sig, 
+				    (sig == SIGURG) ? POLL_PRI : POLL_IN);
 	}
 	read_unlock_irqrestore(&sk->callback_lock, flags);
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)