From 2f9db25fe5a2a488fb6e7033fae3bf2ef6093dfe Mon Sep 17 00:00:00 2001 From: "Kaleb S. KEITHLEY" Date: Wed, 13 Aug 2014 10:35:16 -0400 Subject: rdma: glusterfsd SEGV at volume start glusterfsd NULL ptr deref in proto/server: get_frame_from_request() with 'transport rdma' volume no test case, our regression test framework doesn't have Infiniband. If it did, the test case would be to create a 'transport rdma' volume, start it, and create/write/read/delete files on the volume. Change-Id: I8dd4bea08bdecbbdf0115d3badccb1594fa69a27 BUG: 1129710 Signed-off-by: Kaleb S. KEITHLEY Reviewed-on: http://review.gluster.org/8480 Reviewed-by: Humble Devassy Chirammal Tested-by: Gluster Build System Reviewed-by: Vijay Bellur --- rpc/rpc-transport/rdma/src/rdma.c | 1 + 1 file changed, 1 insertion(+) diff --git a/rpc/rpc-transport/rdma/src/rdma.c b/rpc/rpc-transport/rdma/src/rdma.c index c7510f6bb53..cb50fd87c7b 100644 --- a/rpc/rpc-transport/rdma/src/rdma.c +++ b/rpc/rpc-transport/rdma/src/rdma.c @@ -716,6 +716,7 @@ gf_rdma_transport_new (rpc_transport_t *listener, struct rdma_cm_id *cm_id) this->name = gf_strdup (listener->name); this->notify = listener->notify; this->mydata = listener->mydata; + this->xl = listener->xl; this->myinfo.sockaddr_len = sizeof (cm_id->route.addr.src_addr); memcpy (&this->myinfo.sockaddr, &cm_id->route.addr.src_addr, -- cgit