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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:	Fri, 13 Jul 2007 15:26:28 +0800
From:	Cruise Huang <zyziii@....com>
To:	netdev@...r.kernel.org
CC:	David Miller <davem@...emloft.net>
Subject: a question about the "reord"

Dear all:
I'm reading the code about the Congestion Control.Now I'm confused about
the variable "reord" in the function tcp_sacktag_write_queue().

The "reord" is initialized as the tp->packets_out, I think, which is a
max threshold of the reordering.

If it detect a hole or D-SACK ,set the reord to :
---> reord = min(fack_count, reord);

Finally,the code may update the reordering by:
---> tcp_update_reordering(sk, ((tp->fackets_out + 1) - reord), 0);

The questions are :
<1> What's the purpose of the "reord" ?
<2> Why use the "((tp->fackets_out + 1) - reord)" to update the reordering.

Do I need to study some more RFC about this ? If yes,please tell me
,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

Powered by Openwall GNU/*/Linux Powered by OpenVZ