From: Eric Dumazet
Date: Thu, 18 Mar 2021 10:22:23 +0100
> On Thu, Mar 18, 2021 at 9:04 AM Lijun Pan wrote:
>>
>> There are chances that napi_disable is called twice by NIC driver.
>
>
> ???
>
> Please fix the buggy driver, or explain why it can not be fixed.
Agreed,.
There are chances that napi_disable is called twice by NIC driver.
This could generate deadlock. For example,
the first napi_disable will spin until NAPI_STATE_SCHED is cleared
by napi_complete_done, then set it again.
When napi_disable is called the second time, it will loop infinitely
because no