glusterfs/rpc/rpc-transport
Mark Lipscombe 33214ef836 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>
2015-03-03 04:46:34 -08:00
..