tcp: Allow send-limited cwnd to grow up to max_burst when gso disabled
authorJohn Heffner <johnwheffner@gmail.com>
Tue, 29 Apr 2008 10:13:02 +0000 (03:13 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 29 Apr 2008 10:13:02 +0000 (03:13 -0700)
commitce447eb91409225f8a488f6b7b2a1bdf7b2d884f
treee47dc116d1ba834c9a568133cfb7855bdb493950
parentd0313587547092af7f5ee8a576793e1e5d61be89
tcp: Allow send-limited cwnd to grow up to max_burst when gso disabled

This changes the logic in tcp_is_cwnd_limited() so that cwnd may grow
up to tcp_max_burst() even when sk_can_gso() is false, or when
sysctl_tcp_tso_win_divisor != 0.

Signed-off-by: John Heffner <johnwheffner@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_cong.c