From: Daniel Bar-On Date: Mon, 15 May 2017 10:44:29 +0000 (+0000) Subject: msg/async/rdma: remove assert from ibv_dealloc_pd in ProtectionDomain X-Git-Tag: v12.1.1~312^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=cb920f6485230544a2f912e321679c2817ae3222;p=ceph-ci.git msg/async/rdma: remove assert from ibv_dealloc_pd in ProtectionDomain destructor issue: 1044307 Change-Id: I2fe2099c5f4403f14877e0fbe5d4868dd34d4f9b Signed-off-by: DanielBar-On --- diff --git a/src/msg/async/rdma/Infiniband.cc b/src/msg/async/rdma/Infiniband.cc index 0597b09eb56..ab6e7e310b5 100644 --- a/src/msg/async/rdma/Infiniband.cc +++ b/src/msg/async/rdma/Infiniband.cc @@ -470,8 +470,7 @@ Infiniband::ProtectionDomain::ProtectionDomain(CephContext *cct, Device *device) Infiniband::ProtectionDomain::~ProtectionDomain() { - int rc = ibv_dealloc_pd(pd); - assert(rc == 0); + ibv_dealloc_pd(pd); }