Code Review
/
deb_dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
New upstream version 17.11-rc3
[deb_dpdk.git]
/
drivers
/
net
/
bnxt
/
bnxt_cpr.c
diff --git
a/drivers/net/bnxt/bnxt_cpr.c
b/drivers/net/bnxt/bnxt_cpr.c
index
68979bc
..
26b2755
100644
(file)
--- a/
drivers/net/bnxt/bnxt_cpr.c
+++ b/
drivers/net/bnxt/bnxt_cpr.c
@@
-183,8
+183,10
@@
void bnxt_free_def_cp_ring(struct bnxt *bp)
return;
bnxt_free_ring(cpr->cp_ring_struct);
+ cpr->cp_ring_struct = NULL;
rte_free(cpr->cp_ring_struct);
rte_free(cpr);
+ bp->def_cp_ring = NULL;
}
/* For the default completion ring only */