2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-29 07:34:06 +08:00
linux-next/drivers/infiniband
Bharat Potnuri 699a2d5b1b 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: 1e7710f3f6 ("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>
2017-08-18 14:06:02 -04:00
..
core RDMA/uverbs: Initialize cq_context appropriately 2017-08-18 14:06:02 -04:00
hw i40iw: fix spelling mistake: "allloc_buf" -> "alloc_buf" 2017-08-18 14:01:10 -04:00
sw IB/rxe: Remove unneeded check 2017-08-18 14:01:10 -04:00
ulp RDMA/iser: don't send an rkey if all data is written as immadiate-data 2017-07-20 11:20:50 -04:00
Kconfig IB/opa-vnic: Virtual Network Interface Controller (VNIC) netdev 2017-04-20 12:01:38 -04:00
Makefile IB/rdmavt: Create module framework and handle driver registration 2016-03-10 20:37:04 -05:00