summaryrefslogtreecommitdiff
path: root/drivers/net
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2021-09-24 13:24:53 -0700
committerDavid S. Miller <davem@davemloft.net>2021-09-27 12:19:11 +0100
commit719c571970109b0d0af24745d31b202affc9365f (patch)
treed10efe389dc5db0a16662596bfc79ebd9f34e62a /drivers/net
parent930dfa563155179861470b2aba880eac2ae30bfb (diff)
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 'drivers/net')
0 files changed, 0 insertions, 0 deletions