[PATCH] rxrpc: fix bad unlock balance in rxrpc_do_sendmsg

Khalid Masum khalid.masum.92 at gmail.com
Sun Aug 21 09:42:13 PDT 2022


On Sun, Aug 21, 2022 at 9:58 PM Khalid Masum <khalid.masum.92 at gmail.com> wrote:
>
> On Sun, Aug 21, 2022 at 6:58 PM Hawkins Jiawei <yin31149 at gmail.com> 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



More information about the linux-afs mailing list