Increase the max_burst threshold from 3 to tp->reordering.
commitfb4cf4a7e38fd878b81d1c7b66115c0ea4f1bdfc
authorJohn Heffner <jheffner@napa.(none)>
Fri, 25 Apr 2008 08:43:57 +0000 (25 01:43 -0700)
committerOliver Pinter <oliver.pntr@gmail.com>
Thu, 1 May 2008 16:30:53 +0000 (1 18:30 +0200)
tree66e7924a873dd0dc58fee83015feae9d33dd617a
parent3ec4686cd47d4550bf34b8979145cdc1e147e1d9
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