diff options
author | Mike Christie <michaelc@cs.wisc.edu> | 2010-12-31 03:22:20 -0500 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2010-12-31 10:52:42 -0500 |
commit | 1227633a441363642cdbaf38c4241d071e917095 (patch) | |
tree | 51b7ec4bc1d56b103bf74c5273a0d2b0e70abf70 /drivers/scsi/qla4xxx/ql4_nx.c | |
parent | bc7accec8788ada4f459461194c2b8fad94ed239 (diff) |
[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 <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/qla4xxx/ql4_nx.c')
0 files changed, 0 insertions, 0 deletions