TCP: tcp_hybla: Fix integer overflow in slow start increment
authorDaniele Lacamera <root@danielinux.net>
Wed, 2 Jun 2010 02:02:04 +0000 (02:02 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 2 Jun 2010 14:15:48 +0000 (07:15 -0700)
For large values of rtt, 2^rho operation may overflow u32. Clamp down the increment to 2^16.

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

Simple merge