scsi: qedf: Stop sending fipvlan request on unload
authorSaurav Kashyap <skashyap@marvell.com>
Fri, 23 Aug 2019 09:52:32 +0000 (02:52 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 29 Aug 2019 22:44:21 +0000 (18:44 -0400)
commit4909e153e608360702ad34f76f72190bfaec3d9d
tree66af56634dbe612836b1345d16a634dbc5d72e37
parente82e6ff7779a76ea9b2161ee5fe2cdd9387cf263
scsi: qedf: Stop sending fipvlan request on unload

 - On some setups fipvlan can be retried for long duration and the
   connection to switch was not there so it was not getting any reply.

 - During unload this thread was hanging.

Problem Resolution:

Check if unload is in progress, then quit from fipvlan thread.

Signed-off-by: Saurav Kashyap <skashyap@marvell.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qedf/qedf_main.c