diff options
author | Mark Lipscombe <mlipscombe@gmail.com> | 2015-02-27 15:36:48 -0800 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2015-03-03 04:46:34 -0800 |
commit | 33214ef83684c3b025c773931c071f8af030242b (patch) | |
tree | ee63133c3814726d9ef6915548818e0b4bdb8ea2 /tests | |
parent | 4f65179a8f90547498b00caf48eaad618098ae70 (diff) |
rdma: segfault trying to call ibv_dealloc_pd on a null pointer
if ibv_alloc_pd failed
If creating an ib protection domain fails, during the cleanup
a segfault will occur because trav->pd is null.
Bug: 1197260
Change-Id: I21b867c204c4049496b1bf11ec47e4139610266a
Signed-off-by: Mark Lipscombe <mlipscombe@gmail.com>
Reviewed-on: http://review.gluster.org/9774
Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Tested-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions