This commit was manufactured by cvs2svn to create tag
[linux-2.6.git] / net / tux / accept.c
index 4e6fcc0..16f611c 100644 (file)
@@ -463,7 +463,7 @@ static void tux_write_space (struct sock *sk)
        Dprintk("sk->sk_wmem_queued: %d, sk->sk_sndbuf: %d.\n",
                sk->sk_wmem_queued, sk->sk_sndbuf);
 
-       if (sk_stream_wspace(sk) >= sk_stream_min_wspace(sk)) {
+       if (tcp_wspace(sk) >= tcp_min_write_space(sk)) {
                clear_bit(SOCK_NOSPACE, &sk->sk_socket->flags);
                if (!idle_event(req))
                        output_space_event(req);
@@ -523,7 +523,7 @@ static void tux_ftp_write_space (struct sock *sk)
        Dprintk("sk->sk_wmem_queued: %d, sk->sk_sndbuf: %d.\n",
                sk->sk_wmem_queued, sk->sk_sndbuf);
 
-       if (sk_stream_wspace(sk) >= sk->sk_sndbuf/10*8) {
+       if (tcp_wspace(sk) >= sk->sk_sndbuf/10*8) {
                clear_bit(SOCK_NOSPACE, &sk->sk_socket->flags);
                if (!idle_event(req))
                        output_space_event(req);