scsi: qedf: Check for module unloading bit before processing link update AEN
authorSaurav Kashyap <skashyap@marvell.com>
Fri, 23 Aug 2019 09:52:40 +0000 (02:52 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 29 Aug 2019 22:51:19 +0000 (18:51 -0400)
commit0482262646e4e9e089c4e75f336244c5eaf360e1
tree368f4cb1503a1989637bf41c53afd0d4b08b676d
parentb29a907f105cc659a303bb2657959c7d0d188620
scsi: qedf: Check for module unloading bit before processing link update AEN

Prevent race where we're removing the module and we get link update

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