commit | 9c1e0228ab35e52d30abf4b5629c28350833fbcb | [log] [tgz] |
---|---|---|
author | Ram Amrani <Ram.Amrani@Cavium.com> | Tue Jan 24 13:51:42 2017 +0200 |
committer | Doug Ledford <dledford@redhat.com> | Tue Jan 24 15:35:07 2017 -0500 |
tree | ce82f7a64535c16e17cee5cef17a63a1de129c6e | |
parent | af2b14b8b8ae21b0047a52c767ac8b44f435a280 [diff] |
RDMA/qedr: Fix and simplify memory leak in PD alloc 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>