[SCSI] bfa: Fix possible NULL pointer dereference in lunmask add/delete.
authorKrishna Gudipati <kgudipat@brocade.com>
Wed, 21 Dec 2011 02:54:30 +0000 (18:54 -0800)
committerJames Bottomley <JBottomley@Parallels.com>
Tue, 10 Jan 2012 23:01:23 +0000 (17:01 -0600)
Patch fixes the possible NULL pointer dereference when we try to add or delete
a rpwwn to the lunmask config which is not zoned to this port.  Check if the
FCS rport is not NULL before de-referencing it.

Signed-off-by: Krishna Gudipati <kgudipat@brocade.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>

No differences found