diff options
| author | Maurizio Lombardi <mlombard@redhat.com> | 2019-11-15 17:37:27 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-01-04 19:13:04 +0100 |
| commit | 1b4128a55cc02e2afa99ff5aa747070d962ec7e4 (patch) | |
| tree | c2b9fc3d99c12947d632891a0defaf8c2ff7ca21 /drivers/target | |
| parent | a4c9fd613eec085df74de61c55138cbc4ba6b84c (diff) | |
scsi: scsi_debug: num_tgts must be >= 0
[ Upstream commit aa5334c4f3014940f11bf876e919c956abef4089 ]
Passing the parameter "num_tgts=-1" will start an infinite loop that
exhausts the system memory
Link: https://lore.kernel.org/r/20191115163727.24626-1-mlombard@redhat.com
Signed-off-by: Maurizio Lombardi <mlombard@redhat.com>
Acked-by: Douglas Gilbert <dgilbert@interlog.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/target')
0 files changed, 0 insertions, 0 deletions
