[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CADVnQymL5ns=N8iQHZSvPitbbTpatnWTgPs+M0QxpiyL9FJ5Ug@mail.gmail.com>
Date: Tue, 22 Jul 2014 17:58:40 -0400
From: Neal Cardwell <ncardwell@...gle.com>
To: Christoph Paasch <christoph.paasch@...ouvain.be>
Cc: David Miller <davem@...emloft.net>,
Netdev <netdev@...r.kernel.org>, Doug Leith <doug.leith@...m.ie>
Subject: Re: [PATCH net] tcp: Fix integer-overflows in TCP vegas
On Tue, Jul 22, 2014 at 5:36 PM, Christoph Paasch
<christoph.paasch@...ouvain.be> wrote:
> 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.
>
> Cc: Doug Leith <doug.leith@...m.ie>
> Fixes: 8d3a564da34e (tcp: tcp_vegas cong avoid fix)
> Signed-off-by: Christoph Paasch <christoph.paasch@...ouvain.be>
> ---
> net/ipv4/tcp_vegas.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Acked-by: Neal Cardwell <ncardwell@...gle.com>
Thanks!
neal
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists