summaryrefslogtreecommitdiffstats
path: root/xlators
diff options
context:
space:
mode:
authorMohammed Rafi KC <rkavunga@redhat.com>2014-10-13 11:12:14 +0530
committerRaghavendra G <rgowdapp@redhat.com>2014-11-14 04:03:59 -0800
commitf645655c65d1f9787a82a5dcbb0e24e2d32bed87 (patch)
tree51ceb9d76cbbf81e1f02ccdd64f9454c6aa94937 /xlators
parentc3c28ad86be6feb0b148df4681da432047dc0bc3 (diff)
rdma: glusterd crash if rdma_disconnect is called as soon as connect a request.
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: I019480297a85349ede3101ee9c7c1596dc5c73e2 Signed-off-by: Mohammed Rafi KC <rkavunga@redhat.com> BUG: 1164079 Reviewed-on: http://review.gluster.org/8925 Reviewed-by: Raghavendra G <rgowdapp@redhat.com> Tested-by: Raghavendra G <rgowdapp@redhat.com>
Diffstat (limited to 'xlators')
0 files changed, 0 insertions, 0 deletions