Merge "net: rps: fix data stall after hotplug"

This commit is contained in:
Linux Build Service Account 2015-04-04 23:47:40 -07:00 committed by Gerrit - the friendly Code Review server
commit c511c886a1

View file

@ -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();