mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-23 20:24:12 +08:00
81c254a65c
The ff400_copy_msg_to_user() function drops the spin lock to call
copy_to_user(). However, if the copy_to_user() fails, then it must
take the lock again before returning. Failure to take the lock leads
to a double unlock in the caller, hwdep_read().
Fixes:
|
||
---|---|---|
.. | ||
amdtp-ff.c | ||
ff-hwdep.c | ||
ff-midi.c | ||
ff-pcm.c | ||
ff-proc.c | ||
ff-protocol-former.c | ||
ff-protocol-latter.c | ||
ff-stream.c | ||
ff-transaction.c | ||
ff.c | ||
ff.h | ||
Makefile |