git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
qed: Fix SPQ entries not returned to pool in error flows
[sfrench/cifs-2.6.git]
/
drivers
/
net
/
ethernet
/
qlogic
/
qed
/
qed_iscsi.c
diff --git
a/drivers/net/ethernet/qlogic/qed/qed_iscsi.c
b/drivers/net/ethernet/qlogic/qed/qed_iscsi.c
index 1135387bd99d704f517679c4716760e39acce52c..4f8a685d1a55febcf78e3213a1c56130c8535213 100644
(file)
--- a/
drivers/net/ethernet/qlogic/qed/qed_iscsi.c
+++ b/
drivers/net/ethernet/qlogic/qed/qed_iscsi.c
@@
-200,6
+200,7
@@
qed_sp_iscsi_func_start(struct qed_hwfn *p_hwfn,
"Cannot satisfy CQ amount. Queues requested %d, CQs available %d. Aborting function start\n",
p_params->num_queues,
p_hwfn->hw_info.feat_num[QED_ISCSI_CQ]);
+ qed_sp_destroy_request(p_hwfn, p_ent);
return -EINVAL;
}