Re: net/ipv4: division by 0 in tcp_select_window
From: Eric Dumazet
Date: Fri Mar 03 2017 - 13:27:34 EST
On Fri, Mar 3, 2017 at 10:10 AM, Dmitry Vyukov <dvyukov@xxxxxxxxxx> wrote:
> Hello,
>
> The following program triggers division by 0 in tcp_select_window:
>
> https://gist.githubusercontent.com/dvyukov/ef28c0fd2ab57a655508ef7621b12e6c/raw/079011e2a9523a390b0621cbc1e5d9d5e637fd6d/gistfile1.txt
Yeah, tcp_disconnect() should never have existed in the first place.
We'll send a patch, unless you take care of this before us .
Thanks.