patch-2.3.21 linux/net/unix/af_unix.c

Next file: linux/net/x25/x25_in.c
Previous file: linux/net/socket.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.20/linux/net/unix/af_unix.c linux/net/unix/af_unix.c
@@ -299,7 +299,7 @@
 	read_lock(&sk->callback_lock);
 	if (!sk->dead && unix_writable(sk)) {
 		wake_up_interruptible(sk->sleep);
-		sock_wake_async(sk->socket, 2);
+		sock_wake_async(sk->socket, 2, POLL_OUT);
 	}
 	read_unlock(&sk->callback_lock);
 }

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