diff options
author | Ranjan Kumar <ranjan.kumar@broadcom.com> | 2024-11-10 22:44:01 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2024-12-04 20:21:05 +0300 |
commit | 367ac16e5ff2dcd6b7f00a8f94e6ba98875cb397 (patch) | |
tree | 2c2b71a190fe7c747447ad6c9c22f1a1d704e510 /tools/perf/scripts/python/syscall-counts.py | |
parent | 6050471545eecec214ca9ceb38a63e98e9003338 (diff) | |
download | linux-367ac16e5ff2dcd6b7f00a8f94e6ba98875cb397.tar.xz |
scsi: mpi3mr: Synchronize access to ioctl data buffer
The driver serializes ioctls through a mutex lock but access to the
ioctl data buffer is not guarded by the mutex. This results in multiple
user threads being able to write to the driver's ioctl buffer
simultaneously.
Protect the ioctl buffer with the ioctl mutex.
Signed-off-by: Sumit Saxena <sumit.saxena@broadcom.com>
Signed-off-by: Ranjan Kumar <ranjan.kumar@broadcom.com>
Link: https://lore.kernel.org/r/20241110194405.10108-2-ranjan.kumar@broadcom.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions