From: Mike Christie Date: Fri, 31 Dec 2010 08:22:20 +0000 (-0600) Subject: [SCSI] be2iscsi: fix null ptr when accessing task hdr X-Git-Tag: v2.6.38-rc1~466^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1227633a441363642cdbaf38c4241d071e917095;p=pandora-kernel.git [SCSI] be2iscsi: fix null ptr when accessing task hdr If alloc_pdu fails then the task->hdr pointer may not be set. This adds a check for this case in the cleanup callback. Signed-off-by: Mike Christie Signed-off-by: James Bottomley --- Reading git-diff-tree failed