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

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

Merge "slimbus: Protect transaction-id assignment"

parents 99804093 1701c670
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -731,8 +731,8 @@ static int slim_processtxn(struct slim_controller *ctrl,
			ctrl->last_tid++;
		}
		ctrl->txnt[i] = txn;
		spin_unlock(&ctrl->txn_lock);
		txn->tid = i;
		spin_unlock(&ctrl->txn_lock);
	}

	ret = ctrl->xfer_msg(ctrl, txn);