Skip to content
Commit 3d691910 authored by Christophe Jaillet's avatar Christophe Jaillet Committed by Doug Ledford
Browse files

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: a3f12da0

 ("iw_cxgb4: allocate wait object for each memory object")
Signed-off-by: default avatarChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: default avatarDoug Ledford <dledford@redhat.com>
parent 43731753
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment