lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Tue, 6 Jun 2017 08:05:05 +0200
From:   Tobias Klauser <tklauser@...tanz.ch>
To:     Max Filippov <jcmvbkbc@...il.com>
Cc:     netdev@...r.kernel.org, "David S. Miller" <davem@...emloft.net>,
        Florian Fainelli <f.fainelli@...il.com>,
        Thierry Reding <thierry.reding@...il.com>,
        stable@...r.kernel.org
Subject: Re: [PATCH] net: ethoc: enable NAPI before poll may be scheduled

On 2017-06-06 at 03:31:16 +0200, Max Filippov <jcmvbkbc@...il.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: stable@...r.kernel.org
> Signed-off-by: Max Filippov <jcmvbkbc@...il.com>

Reviewed-by: Tobias Klauser <tklauser@...tanz.ch>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ