diff options
author | Emmanuel Dreyfus <manu@netbsd.org> | 2013-04-29 17:05:03 +0200 |
---|---|---|
committer | Anand Avati <avati@redhat.com> | 2013-04-29 14:25:05 -0700 |
commit | ddad856d371b1cbc80e1a195e9d81edb1be31371 (patch) | |
tree | 295038bda0631ca9f9c9a8598a017cd797e168bf /extras | |
parent | fc8aa43d4689b3945681a2ab27427daebac297c7 (diff) |
Fix spurious brick disconnects
Spurious disconnect were caused by a race condition inside
rpc_transport_ref()/rpc_transport_unref() that allowed the refcount
to drop to zero while the transport was still in use. The race
condition is made possible because of an uninitiaized mutex
produced when socket_server_event_handler() copies the transport
BUG: 764655
Change-Id: I34fe097a0ac21b0dbf58f5eed84880e3fd9814f2
Signed-off-by: Emmanuel Dreyfus <manu@netbsd.org>
Reviewed-on: http://review.gluster.org/4900
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Krishnan Parthasarathi <kparthas@redhat.com>
Reviewed-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'extras')
0 files changed, 0 insertions, 0 deletions