diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2020-09-12 21:36:29 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-09-14 23:53:15 +0200 |
commit | 9423361da52356cb68642db5b2729b6b85aad330 (patch) | |
tree | 5a7429396026e03d976d8c8164ef90166664bd8a /lib/ratelimit.c | |
parent | net: lantiq: Use napi_complete_done() (diff) | |
download | linux-9423361da52356cb68642db5b2729b6b85aad330.tar.xz linux-9423361da52356cb68642db5b2729b6b85aad330.zip |
net: lantiq: Disable IRQs only if NAPI gets scheduled
The napi_schedule() call will only schedule the NAPI if it is not
already running. To make sure that we do not deactivate interrupts
without scheduling NAPI only deactivate the interrupts in case NAPI also
gets scheduled.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/ratelimit.c')
0 files changed, 0 insertions, 0 deletions