summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2017-02-21 08:20:56 -0800
committerDavid S. Miller <davem@davemloft.net>2017-02-21 13:28:01 -0500
commit559c59b238ebb7d39b732b6b08a59693b972e75c (patch)
tree1c32e4a95494b21db5b2e2780ffeb6f895b3cf07 /net
parent29869d66870a715177bfb505f66a7e0e8bcc89c3 (diff)
downloadlinux-559c59b238ebb7d39b732b6b08a59693b972e75c.tar.bz2
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.c2
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;
}