summaryrefslogtreecommitdiffstats
path: root/cli/src
diff options
context:
space:
mode:
authorMohammed Rafi KC <rkavunga@redhat.com>2014-10-13 11:12:14 +0530
committerRaghavendra Bhat <raghavendra@redhat.com>2015-01-06 01:35:32 -0800
commitfa7a3e0b39692b392d325d009386d4d2ad0306f5 (patch)
treeaeb3e4e83790573488a3917a70a8626e48f680b8 /cli/src
parent964c73566a452bcfd3e2ef3119f5407091f977b3 (diff)
rdma: glusterd crash if rdma_disconnect is called as soon as connect a request.
Backport of http://review.gluster.org/8925 we are initializing connection in server side immediately after rdma_accept is called. But we are delaying adding the transport to listener list until getting RDMA_CM_EVENT_ESTABLISHED event. Before getting this event if disconnect is called glusterd will try to remove the transport from list which is not added. So if the list is empty it causes a glusterd crash . In this patch we will call the function to initialize the connection as soon as rdma_accept is called. Change-Id: Ie783fdbb4342459e5bc162bf8600bf47c1e2e909 BUG: 1166515 Signed-off-by: Mohammed Rafi KC <rkavunga@redhat.com> Reviewed-on: http://review.gluster.org/8925 Reviewed-by: Raghavendra G <rgowdapp@redhat.com> Tested-by: Raghavendra G <rgowdapp@redhat.com> Reviewed-on: http://review.gluster.org/9174 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Raghavendra Bhat <raghavendra@redhat.com>
Diffstat (limited to 'cli/src')
0 files changed, 0 insertions, 0 deletions