Re: [REGRESSION] tcp/ipv4: kernel panic because of (possible) division by zero

From: Neal Cardwell
Date: Sun Jan 10 2016 - 09:54:42 EST


On Sun, Jan 10, 2016 at 9:48 AM, Neal Cardwell <ncardwell@xxxxxxxxxx> wrote:
> On Sun, Jan 10, 2016 at 5:23 AM, Oleksandr Natalenko
> <oleksandr@xxxxxxxxxxxxxx> wrote:
>> With the patch queued for upstream and ECN enabled I get WARN_ON_ONCE()
>> triggered. Here is the stacktrace:
>>
>> https://gist.github.com/89203e77bfcb051f269a
>>
>> It seems that tp->prior_cwnd is zero.
>
> Hmm. Interesting. Can you please confirm that you are using the cubic
> congestion control module?

Would you be able to do an experiment where you reboot, and then
disable ECN upon startup, and then see if the warning still shows up
without ECN?

thanks,
neal