From: Jiri Kosina Date: Tue, 16 Apr 2013 22:40:09 +0000 (-0700) Subject: HID: protect hid_debug_list X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~105^2~3^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2353f2bea307390e015493118e425152b8a5a431;p=pandora-kernel.git HID: protect hid_debug_list Accesses to hid_device->hid_debug_list are not serialized properly, which could result in SMP concurrency issues when HID debugfs events are accessesed by multiple userspace processess. Serialize all the list operations by a mutex. Spotted by Al Viro. Signed-off-by: Jiri Kosina --- Reading git-diff-tree failed