Thread (5 messages) 5 messages, 4 authors, 2012-11-01

Re: [net PATCH V2] net: fix divide by zero in tcp algorithm illinois

flat view

From: David Miller <davem@davemloft.net>
Date: 2012-11-01 15:56:34

From: Eric Dumazet <redacted>
Date: Wed, 31 Oct 2012 18:14:38 +0100
On Wed, 2012-10-31 at 13:45 +0100, Jesper Dangaard Brouer wrote:
quoted
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)
quoted
Cc: Petr Matousek <redacted>
Signed-off-by: Jesper Dangaard Brouer <redacted>

---
Acked-by: Eric Dumazet <redacted>
Applied, thanks everyone.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help