summaryrefslogtreecommitdiff
path: root/include/asm-generic
diff options
context:
space:
mode:
authorYuchung Cheng <ycheng@google.com>2013-05-29 14:20:11 +0000
committerDavid S. Miller <davem@davemloft.net>2013-05-30 18:06:11 -0700
commit6804973ffb4288bba14d53223e2fbb2bbd1d2e1b (patch)
tree0a1183971508bf7a502adbcc531ed329bd2be1c3 /include/asm-generic
parent76723bca2802eb80990a5fefa179662e2e561d66 (diff)
tcp: consolidate PRR packet accounting
This patch series fixes an undo bug in fast recovery: the sender mistakenly undos the cwnd too early but continues fast retransmits until all pending data are acked. This also multiplies the SNMP stat PARTIALUNDO events by the degree of the network reordering. The first patch prepares the fix by consolidating the accounting of newly_acked_sacked in tcp_cwnd_reduction(), instead of updating newly_acked_sacked everytime sacked_out is adjusted. Also pass acked and prior_unsacked as const type because they are readonly in the rest of recovery processing. Signed-off-by: Yuchung Cheng <ycheng@google.com> Acked-by: Neal Cardwell <ncardwell@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/asm-generic')
0 files changed, 0 insertions, 0 deletions