commit | 9423361da52356cb68642db5b2729b6b85aad330 | [log] [tgz] |
---|---|---|
author | Hauke Mehrtens <hauke@hauke-m.de> | Sat Sep 12 21:36:29 2020 +0200 |
committer | David S. Miller <davem@davemloft.net> | Mon Sep 14 14:53:15 2020 -0700 |
tree | 5a7429396026e03d976d8c8164ef90166664bd8a | |
parent | c582a7fea9dad4d309437d1a7e22e6d2cb380e2e [diff] |
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>