]> git.karo-electronics.de Git - mv-sheeva.git/commit
[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)
commit6bc6204e3b7f4ac235e98e362714213369d6a012
treee390f206bf9583446e22ab70408f5f70c2e4a08c
parentf1633011e4fcb65bf65aebeaf4024efdc4c49d6e
[SCSI] bfa: Fix possible NULL pointer dereference in lunmask add/delete.

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>
drivers/scsi/bfa/bfa_fcpim.c