diff options
author | Rafael Mendonca <[email protected]> | 2022-09-26 20:02:44 -0300 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2022-10-01 05:48:23 -0400 |
commit | 3ddeabd1536a71abf2b66a577c90df84514a0af2 (patch) | |
tree | a03ae150a8370ce35a5f7564213dd25ae7bf9793 /lib/memory-notifier-error-inject.c | |
parent | 07e433614cdb91e6f85cc79d738bb0a3d8c741a2 (diff) |
scsi: qla2xxx: Fix serialization of DCBX TLV data request
Commit b6faaaf796d7 ("scsi: qla2xxx: Serialize mailbox request") serialized
mailbox requests from userspace using the 'optrom' mutex. However, in the
case of DCBX TLV data, if the memory for it is already allocated, then the
mailbox request ends up not being serialized because it is done without
holding the 'optrom' mutex.
Link: https://lore.kernel.org/r/[email protected]
Fixes: b6faaaf796d7 ("scsi: qla2xxx: Serialize mailbox request")
Reviewed-by: Himanshu Madhani <[email protected]>
Signed-off-by: Rafael Mendonca <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions