summaryrefslogtreecommitdiff
path: root/include/rdma
diff options
context:
space:
mode:
authorBharat Potnuri <bharat@chelsio.com>2017-08-01 10:58:35 +0530
committerDoug Ledford <dledford@redhat.com>2017-08-22 13:55:47 -0400
commit65159c051c45f269cf40a14f9404248f2d524920 (patch)
treeaeea737fa13045458f61dc6f0f285703db9b277b /include/rdma
parent870201f95fcbd19538aef630393fe9d583eff82e (diff)
RDMA/uverbs: Initialize cq_context appropriately
Initializing cq_context with ev_queue in create_cq(), leads to NULL pointer dereference in ib_uverbs_comp_handler(), if application doesnot use completion channel. This patch fixes the cq_context initialization. Fixes: 1e7710f3f65 ("IB/core: Change completion channel to use the reworked") Cc: stable@vger.kernel.org # 4.12 Signed-off-by: Potnuri Bharat Teja <bharat@chelsio.com> Reviewed-by: Matan Barak <matanb@mellanox.com> Signed-off-by: Doug Ledford <dledford@redhat.com> (cherry picked from commit 699a2d5b1b880b4e4e1c7d55fa25659322cf5b51)
Diffstat (limited to 'include/rdma')
0 files changed, 0 insertions, 0 deletions