From: Srinivas Kandagatla <srini@kernel.org>
To: Changyul Lee <lcy8047@gmail.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2] slimbus: messaging: hold lock until transaction is completed
Date: Tue, 24 Nov 2026 21:33:18 +0000 [thread overview]
Message-ID: <179555599817.422527.2957210819903664657.b4-ty@kernel.org> (raw)
In-Reply-To: <20261023211125.2738290-1-lcy8047@gmail.com>
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@kernel.org>
prev parent reply other threads:[~2026-11-24 21:33 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-23 21:11 Changyul Lee
2026-11-24 21:33 ` Srinivas Kandagatla [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179555599817.422527.2957210819903664657.b4-ty@kernel.org \
--to=srini@kernel.org \
--cc=gregkh@linuxfoundation.org \
--cc=lcy8047@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sound@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®