mirror of
https://github.com/torvalds/linux.git
synced 2024-11-27 06:31:52 +00:00
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>
This commit is contained in:
parent
29869d6687
commit
559c59b238
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user