projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29869d6
)
net: napi_watchdog() can use napi_schedule_irqoff()
author
Eric Dumazet
<edumazet@google.com>
Tue, 21 Feb 2017 16:20:56 +0000
(08:20 -0800)
committer
David S. Miller
<davem@davemloft.net>
Tue, 21 Feb 2017 18:28:01 +0000
(13:28 -0500)
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>
net/core/dev.c
patch
|
blob
|
blame
|
history
diff --git
a/net/core/dev.c
b/net/core/dev.c
index 05d19c6acf9460e072195e185b64e19088de13da..304f2deae5f9897e60a79ed8b69d6ef208295ded 100644
(file)
--- 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;
}