Messages in this thread | | | Subject | Re: [PATCH] iw_cxgb4: Fix an error handling path in 'c4iw_get_dma_mr()' | From | Doug Ledford <> | Date | Wed, 09 May 2018 11:09:37 -0400 |
| |
On Tue, 2018-05-08 at 07:44 +0200, Christophe JAILLET wrote: > The error handling path of 'c4iw_get_dma_mr()' does not free resources > in the correct order. > If an error occures, it can leak 'mhp->wr_waitp'. > > Fixes: a3f12da0e99a ("iw_cxgb4: allocate wait object for each memory object") > Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Applied to for-rc, thanks.
-- Doug Ledford <dledford@redhat.com> GPG KeyID: B826A3330E572FDD Key fingerprint = AE6B 1BDA 122B 23B4 265B 1274 B826 A333 0E57 2FDD[unhandled content-type:application/pgp-signature] | |