summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorJiri Kosina <jkosina@suse.cz>2009-09-15 09:59:49 (GMT)
committerJiri Kosina <jkosina@suse.cz>2009-09-15 10:31:06 (GMT)
commitd1ff65226c5afe55f9af38a439058f41b71e114f (patch)
tree4ab64bcce3e1cc0ffdd38419fde74c7817e64aba /net
parent18240904960a39e582ced8ba8ececb10b8c22dd3 (diff)
downloadlinux-d1ff65226c5afe55f9af38a439058f41b71e114f.tar.xz
HID: fix non-atomic allocation in hid_input_report
'interrupt' variable can't be used to safely determine whether we are running in atomic context or not, as we might be called from during control transfer completion through hid_ctrl() in atomic context with interrupt == 0. Reported-by: Jens Axboe <jens.axboe@oracle.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions