OpenBSD cvs log

created 2025-03-15T14:30:34Z
begin 2025-03-08T00:00:00Z
end 2025-03-09T00:00:00Z
path src/sys
commits 1

date 2025-03-08T08:27:32Z
author kirill
files src/sys/dev/usb/uvideo.c log diff annotate
message sys/uvideo: fix crash on close isochronous endpoint's webcam

uvideo_vs_close() is called by videoclose() and by ioctl(VIDIOC_STREAMOFF).
If it's done on a detached webcam with an isochronous endpoint, the
system may crash inside usbd_set_interface() if the device was cleaned
up while waiting and interfaces were deallocated.

OK: mglocker@