diff options
author | Eric Dumazet <edumazet@google.com> | 2017-02-21 17:20:56 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-02-21 19:28:01 +0100 |
commit | 559c59b238ebb7d39b732b6b08a59693b972e75c (patch) | |
tree | 1c32e4a95494b21db5b2e2780ffeb6f895b3cf07 /net | |
parent | tcp: Revert "tcp: tcp_probe: use spin_lock_bh()" (diff) | |
download | linux-559c59b238ebb7d39b732b6b08a59693b972e75c.tar.xz linux-559c59b238ebb7d39b732b6b08a59693b972e75c.zip |
net: napi_watchdog() can use napi_schedule_irqoff()
hrtimer handlers run with masked hard IRQ, we can therefore
use napi_schedule_irqoff()
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r-- | net/core/dev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/dev.c b/net/core/dev.c index 05d19c6acf94..304f2deae5f9 100644 --- a/net/core/dev.c +++ b/net/core/dev.c @@ -5089,7 +5089,7 @@ static enum hrtimer_restart napi_watchdog(struct hrtimer *timer) napi = container_of(timer, struct napi_struct, timer); if (napi->gro_list) - napi_schedule(napi); + napi_schedule_irqoff(napi); return HRTIMER_NORESTART; } |