Merge "net: rps: reset backlog state when IPI fails."
This commit is contained in:
commit
15e4cb50b3
1 changed files with 6 additions and 1 deletions
|
@ -4560,8 +4560,13 @@ static void net_rps_send_ipi(struct softnet_data *remsd)
|
||||||
while (remsd) {
|
while (remsd) {
|
||||||
struct softnet_data *next = remsd->rps_ipi_next;
|
struct softnet_data *next = remsd->rps_ipi_next;
|
||||||
|
|
||||||
if (cpu_online(remsd->cpu))
|
if (cpu_online(remsd->cpu)) {
|
||||||
smp_call_function_single_async(remsd->cpu, &remsd->csd);
|
smp_call_function_single_async(remsd->cpu, &remsd->csd);
|
||||||
|
} else {
|
||||||
|
rps_lock(remsd);
|
||||||
|
remsd->backlog.state = 0;
|
||||||
|
rps_unlock(remsd);
|
||||||
|
}
|
||||||
remsd = next;
|
remsd = next;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Reference in a new issue