lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAAA3+BpsxtyM2uAvX6B4ys73ZC6fX5K1ib3Acsk0fp5cQBNgWg@mail.gmail.com>
Date:	Tue, 17 Sep 2013 12:01:28 +0800
From:	LovelyLich <lovelylich@...il.com>
To:	Eric Dumazet <eric.dumazet@...il.com>
Cc:	netdev@...r.kernel.org
Subject: Why we discard all rtt samples when only some of the acked skbs have
 been retransmited in processing ack?

Hi Eric,

In tcp_clean_rtx_queue(), we set the flag FLAG_RETRANS_DATA_ACKED when we

encounter one ever retransmited skb A. But if there is one( or more) skb B

after this retransmited skb, and we calculate the rtt for skb B. The question

is because we have set the flag FLAG_RETRANS_DATA_ACKED, and we will just

return in tcp_ack_no_tstamp() !

Two questions:

1. if we will just ignore all packets in this ack, we do not need to calculate

skb B's rtt sample.

2. what I want to know, even if A's rtt sample is not reliable, but B's rtt

sample can be trusted. Why we discard it ?



Thanks in advanced.





regards,

Yi
--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ