Re: [PATCH v3 net] net: solve a NAPI race
From: Stephen Hemminger <stephen@networkplumber.org>
Date: 2017-02-27 23:09:16
From: Stephen Hemminger <stephen@networkplumber.org>
Date: 2017-02-27 23:09:16
On Mon, 27 Feb 2017 14:35:17 -0800 Eric Dumazet [off-list ref] wrote:
On Mon, 2017-02-27 at 14:14 -0800, Stephen Hemminger wrote:quoted
The original design (as Davem mentioned) was that IRQ's must be disabled during device polling. If that was true, then the race above would be impossible.I would love to see an alternative patch.
Turn off busy poll? The poll stuff runs risk of breaking more things.