From f751cfc01cc86a24d6266c7116cdc16f27e6da40 Mon Sep 17 00:00:00 2001 From: Davide Libenzi Date: Tue, 29 Oct 2002 22:35:31 -0800 Subject: [PATCH] sys_epoll 0.15 Latest version of the epoll interfaces. --- net/ipv4/tcp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'net') diff --git a/net/ipv4/tcp.c b/net/ipv4/tcp.c index e7c122e30969..c737b6f94414 100644 --- a/net/ipv4/tcp.c +++ b/net/ipv4/tcp.c @@ -476,8 +476,8 @@ void tcp_write_space(struct sock *sk) if (sk->sleep && waitqueue_active(sk->sleep)) wake_up_interruptible(sk->sleep); - if (sock->fasync_list && !(sk->shutdown & SEND_SHUTDOWN)) - sock_wake_async(sock, 2, POLL_OUT); + if (!(sk->shutdown & SEND_SHUTDOWN)) + sk_wake_async(sk, 2, POLL_OUT); } } -- cgit v1.2.3