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

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

Merge "net: rps: reset backlog state when IPI fails."

parents 1cc4edf0 9a04486a
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -4929,8 +4929,13 @@ static void net_rps_send_ipi(struct softnet_data *remsd)
	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 {
			rps_lock(remsd);
			remsd->backlog.state = 0;
			rps_unlock(remsd);
		}
		remsd = next;
	}
#endif