]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[TCP] H-TCP: fix integer overflow
authorGavin McCullagh <gavin.mccullagh@nuim.ie>
Thu, 26 Oct 2006 06:05:52 +0000 (23:05 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 26 Oct 2006 06:05:52 +0000 (23:05 -0700)
commit2a272f98619f188efe22119b0415aac6bc34a13f
tree645bf935aa58ef0cd10c540e8f4e9690dac453f8
parent22119240b1c8f64eebb6ffb368c927b2f8be4136
[TCP] H-TCP: fix integer overflow

When using H-TCP with a single flow on a 500Mbit connection (or less
actually), alpha can exceed 65000, so alpha needs to be a u32.

Signed-off-by: Gavin McCullagh <gavin.mccullagh@nuim.ie>
Signed-off-by: Doug Leith <doug.leith@nuim.ie>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_htcp.c