aboutsummaryrefslogtreecommitdiffstats
path: root/include/uapi/rdma
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2018-08-02 10:56:13 +0300
committerJason Gunthorpe <jgg@mellanox.com>2018-08-02 20:10:54 -0600
commit8001b717f09460d9e17457f6bade6699aa14604f (patch)
treeb2b0b4f97de54a0856f33416e688b27a2b4407c5 /include/uapi/rdma
parentRDMA/hns: Support flush cqe for hip08 in kernel space (diff)
downloadlinux-dev-8001b717f09460d9e17457f6bade6699aa14604f.tar.xz
linux-dev-8001b717f09460d9e17457f6bade6699aa14604f.zip
rdma/cxgb4: fix some info leaks
In c4iw_create_qp() there are several struct members which potentially aren't inintialized like uresp.rq_key. I've fixed this code before in in commit ae1fe07f3f42 ("RDMA/cxgb4: Fix stack info leak in c4iw_create_qp()") so this time I'm just going to take a big hammer approach and memset the whole struct to zero. Hopefully, it will stay fixed this time. In c4iw_create_srq() we don't clear uresp.reserved. Fixes: 6a0b6174d35a ("rdma/cxgb4: Add support for kernel mode SRQ's") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Acked-by: Raju Rangoju <rajur@chelsio.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'include/uapi/rdma')
0 files changed, 0 insertions, 0 deletions