]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
TCP: Increase the max_burst threshold from 3 to tp->reordering.
authorJohn Heffner <jheffner@napa.none>
Fri, 25 Apr 2008 08:43:57 +0000 (01:43 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 1 May 2008 21:44:32 +0000 (14:44 -0700)
commite8a8637fe11a48ca358a8839bbe8ddb871cd30e1
treed652cb644b5c0a7f71dc4d215ca21a3090ea9a48
parent36b9699b534c7fa75258426ea137c23f4dca9bc0
TCP: Increase the max_burst threshold from 3 to tp->reordering.

[ Upstream commit: dd9e0dda66ba38a2ddd1405ac279894260dc5c36 ]

This change is necessary to allow cwnd to grow during persistent
reordering.  Cwnd moderation is applied when in the disorder state
and an ack that fills the hole comes in.  If the hole was greater
than 3 packets, but less than tp->reordering, cwnd will shrink when
it should not have.

Signed-off-by: John Heffner <jheffner@napa.none>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
include/net/tcp.h