> +/* RFC2861 Check whether we are limited by application or congestion window
> + * This is the inverse of cwnd check in tcp_tso_should_defer
> + */
> +static inline int tcp_may_update_cwnd(const struct sock *sk, u32 in_flight)
....
> +       if (sysctl_tcp_tso_win_divisor)
> +               return left * sysctl_tcp_tso_win_divisor < tp->snd_cwnd;
> +       else
> +               return left <= tcp_max_burst(tp);
> +}
> +

You've slipped in tcp_max_burst in there... I think that should be a
separate patch and debated separately...

Ian
--
Ian McDonald
http://wand.net.nz/~iam4
WAND Network Research Group
University of Waikato
New Zealand
-
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