[TCP]: Increase the max_burst threshold from 3 to tp->reordering.
authorJohn Heffner <johnwheffner@gmail.com>
Tue, 15 Apr 2008 22:26:39 +0000 (15:26 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 Apr 2008 09:29:56 +0000 (02:29 -0700)
commitdd9e0dda66ba38a2ddd1405ac279894260dc5c36
treef515b780e78ae05f81dc21f1434fe7ba807b8509
parentd0498d9ae1a5cebac363e38907266d5cd2eedf89
[TCP]: Increase the max_burst threshold from 3 to tp->reordering.

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>
include/net/tcp.h