USB HID: hiddev - fix race between hiddev_send_event() and hiddev_release()
authorJiri Kosina <jkosina@suse.cz>
Thu, 10 May 2007 06:45:56 +0000 (08:45 +0200)
committerJiri Kosina <jkosina@suse.cz>
Thu, 10 May 2007 06:45:56 +0000 (08:45 +0200)
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>

No differences found