diff options
| author | Bharat Potnuri <bharat@chelsio.com> | 2017-08-01 08:28:35 +0300 |
|---|---|---|
| committer | Doug Ledford <dledford@redhat.com> | 2017-08-18 21:06:02 +0300 |
| commit | 699a2d5b1b880b4e4e1c7d55fa25659322cf5b51 (patch) | |
| tree | ba755e182d810bc9768a4548abffb7ab6f55ec99 /include | |
| parent | 5f8a4db715ca21c3195b5eea24e26574c0f5acfa (diff) | |
| download | linux-699a2d5b1b880b4e4e1c7d55fa25659322cf5b51.tar.xz | |
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")
Signed-off-by: Potnuri Bharat Teja <bharat@chelsio.com>
Reviewed-by: Matan Barak <matanb@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
