diff options
author | Kaleb S. KEITHLEY <kkeithle@redhat.com> | 2014-08-13 10:35:16 -0400 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2014-08-13 10:32:13 -0700 |
commit | 2f9db25fe5a2a488fb6e7033fae3bf2ef6093dfe (patch) | |
tree | cb37c947aac528731c992328f51b293261a950d9 /rpc | |
parent | 8935623e316b0e4448be4badd860b03a3763ea12 (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: I8dd4bea08bdecbbdf0115d3badccb1594fa69a27
BUG: 1129710
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
Reviewed-on: http://review.gluster.org/8480
Reviewed-by: Humble Devassy Chirammal <humble.devassy@gmail.com>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'rpc')
-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, |