diff options
author | Kaleb S. KEITHLEY <kkeithle@redhat.com> | 2014-08-13 10:27:47 -0400 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2014-08-13 10:31:53 -0700 |
commit | 37b31605c6a2495848d52270e37b5fa0a8b9fdd5 (patch) | |
tree | 7db85093ff1fe3802a26b856c1e2eca61bb9ed5b | |
parent | 5fe2233a8243160443e9bb438a40b1bcacac4fca (diff) |
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: I91a6956bdf8f61f3853e0c0951744460ba138576
BUG: 1129708
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
Reviewed-on: http://review.gluster.org/8479
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Vijay Bellur <vbellur@redhat.com>
-rw-r--r-- | rpc/rpc-transport/rdma/src/rdma.c | 1 |
1 files changed, 1 insertions, 0 deletions
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, |