commit | bbf61096e42c18e51b8e72a6dd4ceb276610c48c | [log] [tgz] |
---|---|---|
author | Ram Amrani <Ram.Amrani@Cavium.com> | Tue Jan 24 13:51:42 2017 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sat Jun 17 06:41:58 2017 +0200 |
tree | 63d49eacf51103f9d0b56f0f27acffc2ad6854c2 | |
parent | a4fa249385b6db208032a5445cea05891001b7b4 [diff] |
RDMA/qedr: Fix and simplify memory leak in PD alloc [ Upstream commit 9c1e0228ab35e52d30abf4b5629c28350833fbcb ] Free the PD if no internal resources were available. Move userspace code under the relevant 'if'. Signed-off-by: Ram Amrani <Ram.Amrani@cavium.com> Signed-off-by: Ariel Elior <Ariel.Elior@cavium.com> Signed-off-by: Doug Ledford <dledford@redhat.com> Signed-off-by: Sasha Levin <alexander.levin@verizon.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>