[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1375726607.4457.43.camel@edumazet-glaptop>
Date: Mon, 05 Aug 2013 11:16:47 -0700
From: Eric Dumazet <eric.dumazet@...il.com>
To: Dong Fang <yp.fangdong@...il.com>
Cc: davem@...emloft.net, kuznet@....inr.ac.ru, jmorris@...ei.org,
yoshfuji@...ux-ipv6.org, kaber@...sh.net, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] net/ipv4: fix the conditions of entering
TCP_CA_Disorder state
On Mon, 2013-08-05 at 20:45 -0400, Dong Fang wrote:
> if have some packets loss by network, the kernel can't reach here, we can see
> the tcp_time_to_recover() function:
>
> static bool tcp_time_to_recover(struct sock *sk, int flag)
> {
> struct tcp_sock *tp = tcp_sk(sk);
> __u32 packets_out;
>
> /* Trick#1: The loss is proven. */
> if (tp->lost_out)
> return true;
> //...
> }
>
> when it return true, the following condition will be failed:
>
> //...
> if (!tcp_time_to_recover(sk, flag)) {
> tcp_try_to_open(sk, flag, prior_unsacked);
> return;
> }
> //...
>
I honestly do not understand this changelog, and how it is related to
the patch.
Also its not 'net/ipv4:' issue but 'tcp:' one
Could you please explain the issue again ?
Thanks !
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists