Go to file
Ji-Hyeon Gim ccfa06767f rpc: fix a routine to destory RDMA qp(queue-pair)
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>
2017-05-12 03:09:09 +00:00
.github doc: Added a github issue template to redirect to mails or bugzilla 2017-03-02 22:07:40 -05:00
api gfapi: Fix few severe coverity issues 2017-05-05 13:56:33 +00:00
build-aux build: out-of-tree builds generates files in the wrong directory 2016-09-18 09:34:37 -07:00
cli glusterd: Make reset-brick work correctly if brick-mux is on 2017-05-10 18:58:21 +00:00
contrib Revert "contrib/timerwheel: probable bug on 32-bit, use __builtin_ffs()" 2017-05-01 21:43:38 +00:00
doc cluster/dht: Document detailing transactions in dht 2017-04-27 11:31:57 +00:00
events eventsapi: Fix webhook-test when no schema specified in URL 2017-04-17 06:25:27 -04:00
extras extras/hook-scripts: SELinux brick file context management scripts 2017-05-01 09:30:01 +00:00
geo-replication geo-rep: Fix mount cleanup 2017-04-27 05:58:51 +00:00
glusterfsd glusterd: socketfile & pidfile related fixes for brick multiplexing feature 2017-05-09 01:30:01 +00:00
heal glfsheal: Explicitly enable self-heal xlator options 2016-12-15 07:46:26 -08:00
libglusterfs libglusterfs: include sys/time.h avoid compiling error on MacOSX 2017-05-09 15:20:25 +00:00
rpc rpc: fix a routine to destory RDMA qp(queue-pair) 2017-05-12 03:09:09 +00:00
tests glusterd: Make reset-brick work correctly if brick-mux is on 2017-05-10 18:58:21 +00:00
tools build/packaging: Debian and Ubuntu don't have /usr/libexec 2017-03-13 10:18:07 -04:00
xlators afr: send the correct iatt values in fsync cbk 2017-05-11 06:34:47 +00:00
.gitignore build: add copied .x files to .gitignore 2017-03-30 13:27:17 -04:00
.mailmap contributors: map more email addresses and domain names 2017-02-20 17:10:58 -05:00
AUTHORS cleaned up some outdated files 2010-03-12 04:09:34 -08:00
autogen.sh build: include a dummy config.sub and config.guess in releases 2016-05-24 03:54:38 -07:00
ChangeLog Fixed build problems for init script installation. 2009-03-09 17:45:56 +05:30
configure.ac build: add site.h as a place to put environment-specific defines 2017-05-10 12:25:10 +00:00
CONTRIBUTING rfc.sh: set 'Change-Id: ' header on first run 2012-08-15 10:39:43 -07:00
COPYING-GPLV2 license: dual license under GPLV2 and LGPLV3+ 2012-05-10 22:06:16 -07:00
COPYING-LGPLV3 license: dual license under GPLV2 and LGPLV3+ 2012-05-10 22:06:16 -07:00
glusterfs-api.pc.in build: make contrib/uuid dependency optional 2015-04-10 11:39:52 +00:00
glusterfs.spec.in rpc: Remove accidental IPV6 changes 2017-05-05 11:39:28 +00:00
INSTALL doc: update to readthedocs.io documentation 2016-12-11 04:38:39 -08:00
libgfchangelog.pc.in build: make contrib/uuid dependency optional 2015-04-10 11:39:52 +00:00
libgfdb.pc.in build: make contrib/uuid dependency optional 2015-04-10 11:39:52 +00:00
MAINTAINERS MAINTAINERS: src.fedoraproject.org is the new location and uses https 2017-01-12 11:00:22 -08:00
Makefile.am build: add site.h as a place to put environment-specific defines 2017-05-10 12:25:10 +00:00
NEWS news: note the move to gerrit 2011-07-18 17:24:14 +05:30
README.md doc: update to readthedocs.io documentation 2016-12-11 04:38:39 -08:00
rfc.sh scripts: Update rfc.sh to prompt for a github issue on RFE commits 2017-04-19 08:18:17 -04:00
run-tests-in-vagrant.sh vagrant-test: added more options and centos6 base box 2016-04-25 07:28:39 -07:00
run-tests.sh tests: fix typo 2017-04-30 21:45:49 +00:00
site.h.in build: add site.h as a place to put environment-specific defines 2017-05-10 12:25:10 +00:00
THANKS Typo fix THANKS message 2014-09-16 02:30:36 -07:00

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.