[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1351703678.32673.414.camel@edumazet-glaptop>
Date: Wed, 31 Oct 2012 18:14:38 +0100
From: Eric Dumazet <eric.dumazet@...il.com>
To: Jesper Dangaard Brouer <brouer@...hat.com>
Cc: "David S. Miller" <davem@...emloft.net>, netdev@...r.kernel.org,
Petr Matousek <pmatouse@...hat.com>,
Stephen Hemminger <shemminger@...tta.com>
Subject: Re: [net PATCH V2] net: fix divide by zero in tcp algorithm
illinois
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>
--
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