commit | b0e14951ee0f6c29abc64b92ec7075a159ede37c | [log] [tgz] |
---|---|---|
author | Jiri Kosina <jkosina@suse.cz> | Mon Oct 12 11:25:56 2009 +0200 |
committer | Jiri Kosina <jkosina@suse.cz> | Mon Oct 12 11:25:56 2009 +0200 |
tree | aa10393c1f54a2342fbd4d3624d6e68de376cd8d | |
parent | ff9b00a226ccea66e6ce70e9083c42f5b6001f73 [diff] |
HID: fix possible deadlock in hidraw_read If the loop in hidraw_read() loops more than once, then we might end up trying to acquire already locked mutex, casuing a deadlock. Reported-by: iceberg <iceberg@ispras.ru> Signed-off-by: Jiri Kosina <jkosina@suse.cz>