diff options
| author | 2018-07-23 14:07:47 -0500 | |
|---|---|---|
| committer | 2018-07-30 23:17:53 -0400 | |
| commit | a30b0473b62652f9b8ccb1e4f4a3a3c31d2b72b3 (patch) | |
| tree | 9a45302ea322125bb5109a0c390931c1019ee600 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | scsi: tcmu: use lio core se_device configuration helper (diff) | |
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 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
