[SCSI] fnic: Kernel panic while running sh/nosh with max lun cfg
[SCSI] fnic: Kernel panic while running sh/nosh with max lun cfg

Kernel panics due to NULL lport while executing the log message because
of synchronization issues between libfc and scsi transport fc. Checking
for NULL pointers at the beginning of this routine would resolve the issue
from kernel panic point of view.

Signed-off-by: Sesidhar Baddel <6cbb9e575ed4ec2937c0d5a923ad0e7b002f4770@cisco.com>
Signed-off-by: Hiral Patel <80ba00b012f2acc94d6e59e6ed39baabedae7848@cisco.com>
Signed-off-by: James Bottomley <1acebbdca565c7b6b638bdc23b58b5610d1a56b8@Parallels.com>

KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs