|
@@ -752,7 +752,9 @@ retry_tmf:
|
|
|
rc = bnx2fc_init_mp_req(io_req);
|
|
|
if (rc == FAILED) {
|
|
|
printk(KERN_ERR PFX "Task mgmt MP request init failed\n");
|
|
|
+ spin_lock_bh(&tgt->tgt_lock);
|
|
|
kref_put(&io_req->refcount, bnx2fc_cmd_release);
|
|
|
+ spin_unlock_bh(&tgt->tgt_lock);
|
|
|
goto tmf_err;
|
|
|
}
|
|
|
|