diff options
| author | Jakub Kicinski <kuba@kernel.org> | 2021-09-24 23:24:53 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2021-09-27 14:19:11 +0300 |
| commit | 719c571970109b0d0af24745d31b202affc9365f (patch) | |
| tree | d10efe389dc5db0a16662596bfc79ebd9f34e62a /scripts/cleanpatch | |
| parent | 930dfa563155179861470b2aba880eac2ae30bfb (diff) | |
| download | linux-719c571970109b0d0af24745d31b202affc9365f.tar.xz | |
net: make napi_disable() symmetric with enable
Commit 3765996e4f0b ("napi: fix race inside napi_enable") fixed
an ordering bug in napi_enable() and made the napi_enable() diverge
from napi_disable(). The state transitions done on disable are
not symmetric to enable.
There is no known bug in napi_disable() this is just refactoring.
Eric suggests we can also replace msleep(1) with a more opportunistic
usleep_range().
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/cleanpatch')
0 files changed, 0 insertions, 0 deletions
