Go to file
Zhou Zhengping 333474e0d6 libglusterfs: fix race condition in client_ctx_set
follow procedures:
	1.thread1 client_ctx_get return NULL
	2.thread 2 client_ctx_set ctx1 ok
	3.thread1 client_ctx_set ctx2 ok

	thread1 use ctx1, thread2 use ctx2 and ctx1 will leak

Change-Id: I990b02905edd1b3179323ada56888f852d20f538
BUG: 1449232
Signed-off-by: Zhou Zhengping <johnzzpcrystal@gmail.com>
Reviewed-on: https://review.gluster.org/17219
NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
Reviewed-by: Raghavendra G <rgowdapp@redhat.com>
Smoke: Gluster Build System <jenkins@build.gluster.org>
Reviewed-by: Jeff Darcy <jeff@pl.atyp.us>
2017-05-12 04:47:44 +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: fix race condition in client_ctx_set 2017-05-12 04:47:44 +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 libglusterfs: fix race condition in client_ctx_set 2017-05-12 04:47:44 +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.