public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] usb: gadget: uvc: restart fixes
@ 2023-09-11  0:24 Michael Grzeschik
  2023-09-11  0:24 ` [PATCH 1/3] usb: gadget: uvc: stop pump thread on video disable Michael Grzeschik
                   ` (2 more replies)
  0 siblings, 3 replies; 20+ messages in thread
From: Michael Grzeschik @ 2023-09-11  0:24 UTC (permalink / raw)
  To: laurent.pinchart
  Cc: linux-usb, linux-media, dan.scally, gregkh, nicolas, kernel

This series is improving the stability of the usb uvc gadget driver. On
the unconditional event of a crash or intentional stop while using the
uvc v4l2 userspace device and streaming to the host, the setup was
sometimes running into use after free cases. We fix that.

Michael Grzeschik (3):
  usb: gadget: uvc: stop pump thread on video disable
  usb: gadget: uvc: cleanup request when not in correct state
  usb: gadget: uvc: rework pump worker to avoid while loop

 drivers/usb/gadget/function/uvc_video.c | 31 ++++++++++++++++++++-----
 1 file changed, 25 insertions(+), 6 deletions(-)

-- 
2.39.2


^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2023-09-20 20:15 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-11  0:24 [PATCH 0/3] usb: gadget: uvc: restart fixes Michael Grzeschik
2023-09-11  0:24 ` [PATCH 1/3] usb: gadget: uvc: stop pump thread on video disable Michael Grzeschik
2023-09-11  4:35   ` kernel test robot
2023-09-11  8:05   ` kernel test robot
2023-09-11  0:24 ` [PATCH 2/3] usb: gadget: uvc: cleanup request when not in correct state Michael Grzeschik
2023-09-12  4:52   ` Avichal Rakesh
2023-09-15 23:32     ` Michael Grzeschik
2023-09-16  2:41       ` Avichal Rakesh
2023-09-16 23:23         ` Michael Grzeschik
2023-09-18 19:02           ` Avichal Rakesh
2023-09-18 21:43             ` Michael Grzeschik
2023-09-18 23:40               ` Avichal Rakesh
2023-09-19  8:08                 ` Avichal Rakesh
2023-09-19 19:13                 ` Michael Grzeschik
2023-09-19 19:55                   ` Avichal Rakesh
2023-09-19 20:07                     ` Michael Grzeschik
2023-09-19 20:22                       ` Avichal Rakesh
2023-09-19 21:16                         ` Michael Grzeschik
2023-09-20 20:15                           ` Avichal Rakesh
2023-09-11  0:24 ` [PATCH 3/3] usb: gadget: uvc: rework pump worker to avoid while loop Michael Grzeschik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox