git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3eb0add
)
net/qede/base: fix mutex in freeing context manager
author
Rasesh Mody
<rasesh.mody@cavium.com>
Fri, 23 Dec 2016 00:50:01 +0000
(16:50 -0800)
committer
Ferruh Yigit
<ferruh.yigit@intel.com>
Tue, 17 Jan 2017 18:40:52 +0000
(19:40 +0100)
Fix OSAL_MUTEX_DEALLOC() in freeing the context manager.
Fixes:
22d07d939c3c
("net/qede/base: update")
Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
drivers/net/qede/base/ecore_cxt.c
patch
|
blob
|
history
diff --git
a/drivers/net/qede/base/ecore_cxt.c
b/drivers/net/qede/base/ecore_cxt.c
index
3dd953d
..
5ea4f5c
100644
(file)
--- a/
drivers/net/qede/base/ecore_cxt.c
+++ b/
drivers/net/qede/base/ecore_cxt.c
@@
-1155,7
+1155,7
@@
void ecore_cxt_mngr_free(struct ecore_hwfn *p_hwfn)
ecore_cid_map_free(p_hwfn);
ecore_cxt_src_t2_free(p_hwfn);
ecore_ilt_shadow_free(p_hwfn);
- OSAL_MUTEX_DEALLOC(&p_mngr->mutex);
+ OSAL_MUTEX_DEALLOC(&p_
hwfn->p_cxt_
mngr->mutex);
OSAL_FREE(p_hwfn->p_dev, p_hwfn->p_cxt_mngr);
p_hwfn->p_cxt_mngr = OSAL_NULL;