From: Eric Dumazet <eric.dumazet@gmail.com>
To: Dong Fang <yp.fangdong@gmail.com>
Cc: davem@davemloft.net, kuznet@ms2.inr.ac.ru, jmorris@namei.org,
yoshfuji@linux-ipv6.org, kaber@trash.net, netdev@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] net/ipv4: fix the conditions of entering TCP_CA_Disorder state
Date: Mon, 05 Aug 2013 11:16:47 -0700 [thread overview]
Message-ID: <1375726607.4457.43.camel@edumazet-glaptop> (raw)
In-Reply-To: <1375749951-11230-1-git-send-email-yp.fangdong@gmail.com>
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 !
prev parent reply other threads:[~2013-08-05 18:16 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-06 0:45 [PATCH] net/ipv4: fix the conditions of entering TCP_CA_Disorder state Dong Fang
2013-08-05 18:16 ` Eric Dumazet [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1375726607.4457.43.camel@edumazet-glaptop \
--to=eric.dumazet@gmail.com \
--cc=davem@davemloft.net \
--cc=jmorris@namei.org \
--cc=kaber@trash.net \
--cc=kuznet@ms2.inr.ac.ru \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=yoshfuji@linux-ipv6.org \
--cc=yp.fangdong@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).