Messages in this thread |  | | | Date | Mon, 6 Dec 2010 17:45:19 +0300 | | From | Valentine Barshak <> | | Subject | [PATCH 0/2] USB: HID: Fix race between disconnect and hiddev_ioctl |
| |
If a USB HID device is disconneceted, the hiddev_ioctl could try to access invalid hiddev->hid pointer.
The following two patches attempt to fix race condition between disconnect and hiddev_ioctl and make hiddev_ioctl always return -ENODEV on a disconnected device.
|  |