diff options
author | Christophe Jaillet <christophe.jaillet@wanadoo.fr> | 2018-05-08 07:44:27 +0200 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2018-05-09 10:45:19 -0400 |
commit | 3d69191086fc87f202c79eb8873b9c82c2bb065a (patch) | |
tree | fdb9533bc7357e9633b544eedbe1c82a889fc30e /virt/Makefile | |
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>
Diffstat (limited to 'virt/Makefile')
0 files changed, 0 insertions, 0 deletions