0dbfad171b
commit f2bc3af6353cb2a33dfa9d270d999d839eef54cb upstream.
In ocrdma_dealloc_ucontext_pd() uctx->cntxt_pd is assigned to the variable
pd and then after uctx->cntxt_pd is freed, the variable pd is passed to
function _ocrdma_dealloc_pd() which dereferences pd directly or through
its call to ocrdma_mbx_dealloc_pd().
Reorder the free using the variable pd.
Cc: stable@vger.kernel.org
Fixes:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
ocrdma_ah.c | ||
ocrdma_ah.h | ||
ocrdma_hw.c | ||
ocrdma_hw.h | ||
ocrdma_main.c | ||
ocrdma_sli.h | ||
ocrdma_stats.c | ||
ocrdma_stats.h | ||
ocrdma_verbs.c | ||
ocrdma_verbs.h | ||
ocrdma.h |