Re: [PATCH v2] slimbus: messaging: hold lock until transaction is completed

From: Srinivas Kandagatla

Date: Tue Nov 24 2026 - 16:33:23 EST



On Fri, 23 Oct 2026 17:11:25 -0400, Changyul Lee wrote:
> slim_msg_response() releases ctrl->txn_lock right after idr_find()
> and then uses txn. If the request times out in the meantime, it
> returns, and txn is no longer valid.
>
> Keep ctrl->txn_lock held until complete() returns, so the timeout
> path in slim_free_txn_tid() waits until slim_msg_response() is done
> with txn. Call idr_remove() directly, since slim_free_txn_tid() takes
> the same lock.
>
> [...]

Applied, thanks!

[1/1] slimbus: messaging: hold lock until transaction is completed
commit: be8c99872eea7efb4b32b3fee01af91b76a8da39

Best regards,
--
Srinivas Kandagatla <srini@xxxxxxxxxx>