diff options
author | Mike Christie <mchristi@redhat.com> | 2018-07-23 22:07:47 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2018-07-31 06:17:53 +0300 |
commit | a30b0473b62652f9b8ccb1e4f4a3a3c31d2b72b3 (patch) | |
tree | 9a45302ea322125bb5109a0c390931c1019ee600 /sound/aoa/core | |
parent | 63d5be0f6a8053ba0c084dd6e2d5538e9376e7da (diff) | |
download | linux-a30b0473b62652f9b8ccb1e4f4a3a3c31d2b72b3.tar.xz |
scsi: tcmu: check if dev is configured before block/reset
Do not allow userspace to block or reset the ring until the device has been
configured. This will prevent the bug where userspace can write to those
files and access mb_addr before it has been setup.
Signed-off-by: Mike Christie <mchristi@redhat.com>
Reviewed-by: Xiubo Li <xiubli@redhat.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'sound/aoa/core')
0 files changed, 0 insertions, 0 deletions