ccfa06767f
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@potatogim.net> Reviewed-on: https://review.gluster.org/17249 Reviewed-by: Amar Tumballi <amarts@redhat.com> Reviewed-by: Prashanth Pai <ppai@redhat.com> NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> Tested-by: Ji-Hyeon Gim CentOS-regression: Gluster Build System <jenkins@build.gluster.org> Smoke: Gluster Build System <jenkins@build.gluster.org> Reviewed-by: Jeff Darcy <jeff@pl.atyp.us> |
||
---|---|---|
.github | ||
api | ||
build-aux | ||
cli | ||
contrib | ||
doc | ||
events | ||
extras | ||
geo-replication | ||
glusterfsd | ||
heal | ||
libglusterfs | ||
rpc | ||
tests | ||
tools | ||
xlators | ||
.gitignore | ||
.mailmap | ||
AUTHORS | ||
autogen.sh | ||
ChangeLog | ||
configure.ac | ||
CONTRIBUTING | ||
COPYING-GPLV2 | ||
COPYING-LGPLV3 | ||
glusterfs-api.pc.in | ||
glusterfs.spec.in | ||
INSTALL | ||
libgfchangelog.pc.in | ||
libgfdb.pc.in | ||
MAINTAINERS | ||
Makefile.am | ||
NEWS | ||
README.md | ||
rfc.sh | ||
run-tests-in-vagrant.sh | ||
run-tests.sh | ||
site.h.in | ||
THANKS |
For information about contributing to GlusterFS, please follow Contributing to GlusterFS community.
GlusterFS does not follow the GitHub: Fork & pull workflow but use Gerrit for code review.
The development guidelines are detailed in Development Workflow.
The GlusterFS documentation can be found at our Read the Docs site.
For more info, please visit gluster.org.