Re: [PATCH] rxrpc: fix bad unlock balance in rxrpc_do_sendmsg

From: Khalid Masum
Date: Sun Aug 21 2022 - 12:42:32 EST


On Sun, Aug 21, 2022 at 9:58 PM Khalid Masum <khalid.masum.92@xxxxxxxxx> wrote:
>
> On Sun, Aug 21, 2022 at 6:58 PM Hawkins Jiawei <yin31149@xxxxxxxxx> wrote:
> >
> The interruptible version fails to acquire the lock. So why is it okay to
> force it to acquire the mutex_lock since we are in the interrupt context?

Sorry, I mean, won't the function lose its ability of being interruptible?
Since we are forcing it to acquire the lock.
> > return sock_intr_errno(*timeo);
> > + }
> > }
> > }
>
> thanks,
> -- Khalid Masum