commit | 696c1cff5254bb3ac280fbbb639c66e9ff20306e | [log] [tgz] |
---|---|---|
author | Hugh Daschbach <hdasch@broadcom.com> | Tue Feb 16 12:15:28 2010 -0800 |
committer | James Bottomley <James.Bottomley@suse.de> | Wed Feb 17 17:43:41 2010 -0600 |
tree | 1d0b99d45e7d6ff4fe54782af17387e3b136edcd | |
parent | 5b7a381e55d187e50a148b750abf4525cadd3a4f [diff] |
[SCSI] libfc: Don't assume response request present. Fix NULL pointer dereference crash occurs in fc_lport_bsg_request() for bsg requests that do not contain a response request. Specifically, FC_BSG_HST_ADD_RPORT and FC_BSG_HST_DEL_RPORT bsg requests are not guaranteed to include a response request. Signed-off-by: Hugh Daschbach <hdasch@broadcom.com> Signed-off-by: Robert Love <robert.w.love@intel.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>