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: Eric Dumazet <hidden>
Date: 2012-10-31 17:14:43

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 <redacted>
Signed-off-by: Jesper Dangaard Brouer <redacted>

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