summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox/mlx5/core/en_main.c
diff options
context:
space:
mode:
authorYixian Liu2018-03-19 14:36:07 +0100
committerJason Gunthorpe2018-03-19 18:41:41 +0100
commitdf7e40425813c50cd252e6f5e348a81ef1acae56 (patch)
tree530543104e02673f36b535e31ecec762e912bf0a /drivers/net/ethernet/mellanox/mlx5/core/en_main.c
parentIB/core: Remove unimplemented ib_peek_cq (diff)
downloadkernel-qcow2-linux-df7e40425813c50cd252e6f5e348a81ef1acae56.tar.gz
kernel-qcow2-linux-df7e40425813c50cd252e6f5e348a81ef1acae56.tar.xz
kernel-qcow2-linux-df7e40425813c50cd252e6f5e348a81ef1acae56.zip
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: e088a685eae9 ("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>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx5/core/en_main.c')
0 files changed, 0 insertions, 0 deletions