[Bugs] [Bug 1450565] glfsheal: crashed(segfault) with disperse volume in RDMA

bugzilla at redhat.com bugzilla at redhat.com
Tue May 16 00:30:38 UTC 2017


https://bugzilla.redhat.com/show_bug.cgi?id=1450565



--- Comment #3 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/17282 committed in release-3.11 by
Shyamsundar Ranganathan (srangana at redhat.com) 
------
commit 6c809f40a1a0b500aa09ccaa597dc7d95b1e5146
Author: Ji-Hyeon Gim <potatogim at gluesys.com>
Date:   Fri May 5 16:51:19 2017 +0900

    rpc: fix a routine to destory RDMA qp(queue-pair)

        This is backport of https://review.gluster.org/#/c/17249/

    Problem: If an error has occured with rdma_create_id() in
gf_rdma_connect(),
             process will jump to the 'unlock' label and then call
gf_rdma_teardown()
             which call __gf_rdma_teardown().
             Presently, __gf_rdma_teardown() checks InifiniBand QP with
peer->cm_id->qp!
             Unfortunately, cm_id is not allocated and will be crushed in this
situation :)

    Solution: If 'this->private->peer->cm_id' member is null, do not check
              'this->private->peer->cm_id->qp'.

    > Change-Id: Ie321b8cf175ef4f1bdd9733d73840f03ddff8c3b
    > BUG: 1449495
    > Signed-off-by: Ji-Hyeon Gim <potatogim at potatogim.net>
    > Reviewed-on: https://review.gluster.org/17249
    > Reviewed-by: Amar Tumballi <amarts at redhat.com>
    > Reviewed-by: Prashanth Pai <ppai at redhat.com>
    > NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
    > Tested-by: Ji-Hyeon Gim
    > CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
    > Smoke: Gluster Build System <jenkins at build.gluster.org>
    > Reviewed-by: Jeff Darcy <jeff at pl.atyp.us>

    (cherry picked from commit ccfa06767f1282d9a3783e37555515a63cc62e69)

    Change-Id: Ie321b8cf175ef4f1bdd9733d73840f03ddff8c3b
    BUG: 1450565
    Signed-off-by: Ji-Hyeon Gim <potatogim at gluesys.com>
    Reviewed-on: https://review.gluster.org/17282
    Smoke: Gluster Build System <jenkins at build.gluster.org>
    Tested-by: Ji-Hyeon Gim
    NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
    CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
    Reviewed-by: Amar Tumballi <amarts at redhat.com>

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list