commit | c3b6a1d397420a0fdd97af2f06abfb78adc370df | [log] [tgz] |
---|---|---|
author | Quinn Tran <qutran@marvell.com> | Thu Sep 12 11:09:06 2019 -0700 |
committer | Martin K. Petersen <martin.petersen@oracle.com> | Mon Sep 23 23:09:42 2019 -0400 |
tree | c04565b5d2d375d7b0d0f1bc0a0c4103d4472aa2 | |
parent | 248a445adfc8c33ffd67cf1f2e336578e34f9e21 [diff] |
scsi: qla2xxx: Fix unbound sleep in fcport delete path. There are instances, though rare, where a LOGO request cannot be sent out and the thread in free session done can wait indefinitely. Fix this by putting an upper bound to sleep. Link: https://lore.kernel.org/r/20190912180918.6436-3-hmadhani@marvell.com Signed-off-by: Quinn Tran <qutran@marvell.com> Signed-off-by: Himanshu Madhani <hmadhani@marvell.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>