commit | cdcb44e87bedcf5070eece61f89f9373a3810031 | [log] [tgz] |
---|---|---|
author | Jiri Kosina <jkosina@suse.cz> | Thu May 10 08:45:56 2007 +0200 |
committer | Jiri Kosina <jkosina@suse.cz> | Thu May 10 08:45:56 2007 +0200 |
tree | d9d1fdaa3b0e7789e0064377e3dedbd3ab6b9376 | |
parent | fe7ba31feadcc2cdb7749a8ed14960f989cbd021 [diff] |
USB HID: hiddev - fix race between hiddev_send_event() and hiddev_release() There is a small race window in which hiddev_release() could corrupt the list that is being processed for new event in hiddev_send_event(). Synchronize the operations over this list. Signed-off-by: Jiri Kosina <jkosina@suse.cz>