In article <[EMAIL PROTECTED]>,
"Stephen C. Tweedie" <[EMAIL PROTECTED]> writes:
> ----------------------------------------------------------------
> --- net/ipv4/tcp_input.c~ Fri Nov 12 12:55:38 1999
> +++ net/ipv4/tcp_input.c Fri Nov 26 23:12:12 1999
> @@ -2760,7 +2760,7 @@
> if(!sk->dead) {
> wake_up_interruptible(sk->sleep);
> - sock_wake_async(sk->socket, 0, POLL_IN);
> + sock_wake_async(sk->socket, 0, POLL_OUT);
> }
> return -1;
> }
POLL_OUT is correct. POLL_IN is only correct when it carries data, and
tcp_data() sends another signal in this case anyways (although it would be
better if the two were merged)
-Andi
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]