Comment 14 for bug 213081

Revision history for this message
DaveM (davem) wrote : Re: Fix FRTO+NewReno problem

From: "Ilpo_Järvinen" <email address hidden>
Date: Thu, 8 May 2008 01:26:59 +0300 (EEST)

> [PATCH] [TCP] FRTO: SACK variant is errorneously used with NewReno

I applied this with a minor coding style fixup.

From: "Ilpo_Järvinen" <email address hidden>
Date: Thu, 8 May 2008 01:26:59 +0300 (EEST)

> +static int tcp_is_sackfrto(const struct tcp_sock *tp) {
> + return (sysctl_tcp_frto == 0x2) && !tcp_is_reno(tp);
> +}
> +

Should be:

static int tcp_is_sackfrto(const struct tcp_sock *tp)
{
 return (sysctl_tcp_frto == 0x2) && !tcp_is_reno(tp);
}

I will also queue this up to -stable, thanks so much for
this bug fix!