From: Scott Bardone <[EMAIL PROTECTED]>
Date: Tue, 02 Aug 2005 22:01:22 -0700

> @@ -735,6 +737,9 @@
>       ssize_t res;
>       struct sock *sk = sock->sk;
>  
> +     if (sk->sk_prot->sendpage)
> +             return sk->sk_prot->sendpage(sk, page, offset, size, flags);
> +

This doesn't make any sense, invoking sk->sk_prot->sendpage()
is what af_inet.c:inet_sendpage() did to get us to this function
(tcp_sendpage() in tcp.c), so this code will make us recurse
indefinitely into tcp_sendpage() over and over until we run out
of kernel stack.
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to