linux_dsm_epyc7002/drivers/infiniband
Yixian Liu df7e404258 RDMA/hns: Fix init resp when alloc ucontext
The data in resp will be copied from kernel to userspace, thus it needs to
be initialized to zeros to avoid copying uninited stack memory.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Fixes: e088a685ea ("RDMA/hns: Support rq record doorbell for the user space")
Signed-off-by: Yixian Liu <liuyixian@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
2018-03-19 11:41:41 -06:00
..
core IB/core: Use rdma_is_port_valid() 2018-03-19 11:41:40 -06:00
hw RDMA/hns: Fix init resp when alloc ucontext 2018-03-19 11:41:41 -06:00
sw RDMA/rxe: Use structs to describe the uABI instead of opencoding 2018-03-15 15:58:02 -06:00
ulp IB/{core, ipoib}: Simplify ib_find_gid() for unused ndev 2018-03-15 14:40:37 -06:00
Kconfig Second pull request for 4.16 merge window 2018-02-06 11:09:45 -08:00
Makefile IB/rdmavt: Create module framework and handle driver registration 2016-03-10 20:37:04 -05:00