Mercurial > illumos > illumos-gate
changeset 11086:77c085f864d5
6892828 vhci panic while running fcinfo hba-port in initiator while testing COMSTAR FCoE testsuite
author | Victor Li <Victor.Li@Sun.COM> |
---|---|
date | Wed, 18 Nov 2009 09:20:22 +0800 |
parents | 20c0eceef578 |
children | af762f250609 |
files | usr/src/uts/common/io/scsi/adapters/scsi_vhci/scsi_vhci.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/usr/src/uts/common/io/scsi/adapters/scsi_vhci/scsi_vhci.c Tue Nov 17 17:02:43 2009 -0800 +++ b/usr/src/uts/common/io/scsi/adapters/scsi_vhci/scsi_vhci.c Wed Nov 18 09:20:22 2009 +0800 @@ -2440,7 +2440,8 @@ * vs. a condition of being temporarily out of * some resource */ - if (geterror(vpkt->vpkt_tgt_init_bp)) + if (vpkt->vpkt_tgt_init_bp == NULL || + geterror(vpkt->vpkt_tgt_init_bp)) return (TRAN_FATAL_ERROR); else return (TRAN_BUSY);