Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3f7c6a72 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "net: Reset NAPI bit if IPI failed"

parents 9eadf0bc c6595493
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -4837,9 +4837,15 @@ static void net_rps_action_and_irq_enable(struct softnet_data *sd)
		while (remsd) {
			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);
			} else {
				pr_err("%s() cpu offline\n", __func__);
				rps_lock(remsd);
				remsd->backlog.state = 0;
				rps_unlock(remsd);
			}
			remsd = next;
		}
	} else