commit | 6bc6204e3b7f4ac235e98e362714213369d6a012 | [log] [tgz] |
---|---|---|
author | Krishna Gudipati <kgudipat@brocade.com> | Tue Dec 20 18:54:30 2011 -0800 |
committer | James Bottomley <JBottomley@Parallels.com> | Tue Jan 10 17:01:23 2012 -0600 |
tree | e390f206bf9583446e22ab70408f5f70c2e4a08c | |
parent | f1633011e4fcb65bf65aebeaf4024efdc4c49d6e [diff] |
[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>