[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CANiDSCsHR2DNPNRkDNELSJcUqUbtxwGY_Rie=3o0NUF+qzDr7g@mail.gmail.com>
Date: Wed, 14 Dec 2022 17:38:52 +0100
From: Ricardo Ribalda <ribalda@...omium.org>
To: Laurent Pinchart <laurent.pinchart@...asonboard.com>
Cc: Mauro Carvalho Chehab <mchehab@...nel.org>,
Sergey Senozhatsky <senozhatsky@...omium.org>,
Max Staudt <mstaudt@...gle.com>, linux-media@...r.kernel.org,
linux-kernel@...r.kernel.org, Yunke Cao <yunkec@...omium.org>,
stable@...r.kernel.org
Subject: Re: [PATCH v3] media: uvcvideo: Fix race condition with usb_kill_urb
Hi Laurent
On Wed, 14 Dec 2022 at 14:30, Laurent Pinchart
<laurent.pinchart@...asonboard.com> wrote:
> > > Isn't this still racy ?
> >
> > Indeed...
> >
> > I could add a mutex just for flush_status
> >
> > what do you think?
>
> It may be possible to avoid that. I'm giving it a try.
Just sent a new version without lock...
--
Ricardo Ribalda
Powered by blists - more mailing lists