Re: [PATCH v2] misc: fastrpc: fix context leak and hang on signal-interrupted invoke

From: Srinivas Kandagatla

Date: Tue Nov 24 2026 - 16:07:11 EST



On Wed, 01 Jul 2026 13:41:25 +0530, Anandu Krishnan E wrote:
> fastrpc invokes work by sending an RPC message to the DSP and blocking
> in wait_for_completion_interruptible() until the DSP responds. If a
> signal arrives during this wait, the syscall returns -ERESTARTSYS and
> the invoke context which holds the in-flight DMA buffers and
> completion state is left stranded in fl->pending.
>
> On the next syscall attempt (either auto-restarted by the kernel via
> SA_RESTART or manually retried by user-space after EINTR), a fresh
> context is allocated and the RPC message is re-sent to the DSP. This
> has two consequences:
>
> [...]

Applied, thanks!

[1/1] misc: fastrpc: fix context leak and hang on signal-interrupted invoke
commit: 3f645f6884b5c753eea253cab37521a432c69105

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