From: Krishna Gudipati Date: Wed, 21 Dec 2011 02:54:30 +0000 (-0800) Subject: [SCSI] bfa: Fix possible NULL pointer dereference in lunmask add/delete. X-Git-Tag: v3.3-rc1~15^2~39 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6bc6204e3b7f4ac235e98e362714213369d6a012;p=pandora-kernel.git [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 Signed-off-by: James Bottomley --- Reading git-diff-tree failed