[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20121101.115629.370549613464282212.davem@davemloft.net>
Date: Thu, 01 Nov 2012 11:56:29 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: brouer@...hat.com, netdev@...r.kernel.org, pmatouse@...hat.com,
shemminger@...tta.com
Subject: Re: [net PATCH V2] net: fix divide by zero in tcp algorithm
illinois
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Wed, 31 Oct 2012 18:14:38 +0100
> On Wed, 2012-10-31 at 13:45 +0100, Jesper Dangaard Brouer wrote:
>> Reading TCP stats when using TCP Illinois congestion control algorithm
>> can cause a divide by zero kernel oops.
>>
>> The division by zero occur in tcp_illinois_info() at:
>> do_div(t, ca->cnt_rtt);
>> where ca->cnt_rtt can become zero (when rtt_reset is called)
>>
>
>> Cc: Petr Matousek <pmatouse@...hat.com>
>> Signed-off-by: Jesper Dangaard Brouer <brouer@...hat.com>
>>
>> ---
>
> Acked-by: Eric Dumazet <edumazet@...gle.com>
Applied, thanks everyone.
--
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