On 2017-06-06 at 03:31:16 +0200, Max Filippov <jcmvb...@gmail.com> wrote: > ethoc_reset enables device interrupts, ethoc_interrupt may schedule a > NAPI poll before NAPI is enabled in the ethoc_open, which results in > device being unable to send or receive anything until it's closed and > reopened. In case the device is flooded with ingress packets it may be > unable to recover at all. > Move napi_enable above ethoc_reset in the ethoc_open to fix that. > > Cc: sta...@vger.kernel.org > Signed-off-by: Max Filippov <jcmvb...@gmail.com>
Reviewed-by: Tobias Klauser <tklau...@distanz.ch>