From: Christoph Paasch <redacted>
Date: Tue, 29 Jul 2014 13:40:57 +0200
In vegas we do a multiplication of the cwnd and the rtt. This
may overflow and thus their result is stored in a u64. However, we first
need to cast the cwnd so that actually 64-bit arithmetic is done.
Then, we need to do do_div to allow this to be used on 32-bit arches.
Cc: Stephen Hemminger <stephen@networkplumber.org>
Cc: Neal Cardwell <ncardwell@google.com>
Cc: Eric Dumazet <redacted>
Cc: David Laight <redacted>
Cc: Doug Leith <redacted>
Fixes: 8d3a564da34e (tcp: tcp_vegas cong avoid fix)
Signed-off-by: Christoph Paasch <redacted>
Applied and queued up for -stable, thanks.