]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
tcp: Fix tcp_hybla zero congestion window growth with small rho and large cwnd.
authorDaniele Lacamera <root@danielinux.net>
Tue, 7 Oct 2008 22:58:17 +0000 (15:58 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 7 Oct 2008 22:58:17 +0000 (15:58 -0700)
commit9d2c27e17b7574023b5adb5c6a50d7aaeb915543
tree2161f26ce73fe9e38d74691e941a299cdd532df4
parent58ec3b4db9eb5a28e3aec5f407a54e28f7039c19
tcp: Fix tcp_hybla zero congestion window growth with small rho and large cwnd.

Because of rounding, in certain conditions, i.e. when in congestion
avoidance state rho is smaller than 1/128 of the current cwnd, TCP
Hybla congestion control starves and the cwnd is kept constant
forever.

This patch forces an increment by one segment after #send_cwnd calls
without increments(newreno behavior).

Signed-off-by: Daniele Lacamera <root@danielinux.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_hybla.c