lkml.org 
[lkml]   [2022]   [Dec]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [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@ideasonboard.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

\
 
 \ /
  Last update: 2022-12-14 17:40    [W:0.354 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site