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_sriov.c
diff --git
a/drivers/net/ethernet/qlogic/qed/qed_sriov.c
b/drivers/net/ethernet/qlogic/qed/qed_sriov.c
index 9b08a9d9e15130f0518b1f7608bbaa36e6eb15b0..ca6290fa0f30940265ca1590de148c94eb2cf18e 100644
(file)
--- a/
drivers/net/ethernet/qlogic/qed/qed_sriov.c
+++ b/
drivers/net/ethernet/qlogic/qed/qed_sriov.c
@@
-101,6
+101,7
@@
static int qed_sp_vf_start(struct qed_hwfn *p_hwfn, struct qed_vf_info *p_vf)
default:
DP_NOTICE(p_hwfn, "Unknown VF personality %d\n",
p_hwfn->hw_info.personality);
+ qed_sp_destroy_request(p_hwfn, p_ent);
return -EINVAL;
}