commit | 3d69191086fc87f202c79eb8873b9c82c2bb065a | [log] [tgz] |
---|---|---|
author | Christophe Jaillet <christophe.jaillet@wanadoo.fr> | Tue May 08 07:44:27 2018 +0200 |
committer | Doug Ledford <dledford@redhat.com> | Wed May 09 10:45:19 2018 -0400 |
tree | fdb9533bc7357e9633b544eedbe1c82a889fc30e | |
parent | 43731753c4b7d832775cf6b2301dd0447a5a1851 [diff] |
iw_cxgb4: Fix an error handling path in 'c4iw_get_dma_mr()' 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> Signed-off-by: Doug Ledford <dledford@redhat.com>