mirror of
https://github.com/team-infusion-developers/android_kernel_samsung_msm8976.git
synced 2024-10-31 18:09:19 +00:00
Merge "net: rps: fix data stall after hotplug"
This commit is contained in:
commit
c511c886a1
1 changed files with 2 additions and 3 deletions
|
@ -6025,12 +6025,11 @@ static int dev_cpu_callback(struct notifier_block *nfb,
|
|||
poll_list);
|
||||
|
||||
list_del_init(&napi->poll_list);
|
||||
if (napi->poll == process_backlog)
|
||||
napi->state = 0;
|
||||
else
|
||||
if (napi->poll != process_backlog)
|
||||
____napi_schedule(sd, napi);
|
||||
}
|
||||
|
||||
oldsd->backlog.state = 0;
|
||||
raise_softirq_irqoff(NET_TX_SOFTIRQ);
|
||||
local_irq_enable();
|
||||
|
||||
|
|
Loading…
Reference in a new issue