[PATCH 0/2] USB: HID: Fix race between disconnect and hiddev_ioctl

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Valentine Barshak
Date: Monday, December 6, 2010 - 7:45 am

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.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 0/2] USB: HID: Fix race between disconnect and hidd ..., Valentine Barshak, (Mon Dec 6, 7:45 am)