linux/drivers/infiniband/hw
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
..
bnxt_re Merge branch 'k.o/wip/dl-for-rc' into k.o/wip/dl-for-next 2018-03-14 19:28:58 -04:00
cxgb3 IB/cxgb3: remove cxio_dbg.c 2018-02-14 16:21:15 -07:00
cxgb4 RDMA/cxgb4: Use structs to describe the uABI instead of opencoding 2018-03-15 15:58:04 -06:00
hfi1 IB: remove duplicate header files 2018-03-13 16:46:03 -04:00
hns RDMA/hns: Fix init resp when alloc ucontext 2018-03-19 11:41:41 -06:00
i40iw i40iw: Tear-down connection after CQP Modify QP failure 2018-03-15 15:58:05 -06:00
mlx4 IB/mlx4: Add Scatter FCS support over WQ creation 2018-03-15 15:58:05 -06:00
mlx5 IB/mlx5: Set the default active rate and width to QDR and 4X 2018-03-19 11:39:47 -06:00
mthca IB/mthca: remove mthca_user.h 2018-01-28 14:07:16 -07:00
nes nes: Change accelerated flag to bool 2017-12-22 13:33:30 -07:00
ocrdma IB/ocrdma: Removed GID add/del null routines 2018-03-15 15:17:48 -06:00
qedr RDMA/qedr: eliminate duplicate barriers on weakly-ordered archs 2018-03-15 15:35:44 -06:00
qib infiniband: hw: Drop unnecessary continue 2018-03-06 16:00:51 -07:00
usnic IB/usnic: Delete an error message for a failed memory allocation in usnic_transport_init() 2018-02-28 13:57:39 -07:00
vmw_pvrdma RDMA/pvrdma: Properly annotate QP states 2018-03-14 15:34:25 -04:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00