OpenCloudOS-Kernel/drivers/infiniband/hw/qedr
Amrani, Ram c75d3ec8c0 RDMA/qedr: Prevent memory overrun in verbs' user responses
Wrap ib_copy_to_udata with a function that ensures that the data
being copied over to user space isn't longer than the allowed.

Fixes: cecbcddf64 ("qedr: Add support for QP verbs")
Fixes: a7efd7773e ("qedr: Add support for PD,PKEY and CQ verbs")
Fixes: ac1b36e55a ("qedr: Add support for user context verbs")
Signed-off-by: Ram Amrani <Ram.Amrani@cavium.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2017-07-20 11:20:50 -04:00
..
Kconfig Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2016-10-29 20:33:20 -07:00
Makefile qedr: Add GSI support 2016-10-14 15:00:10 -04:00
main.c qed*: Set rdma generic functions prefix 2017-06-20 12:34:08 -04:00
qedr.h Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2017-06-21 17:35:22 -04:00
qedr_cm.c qed*: Rename qed_roce_if.h to qed_rdma_if.h 2017-06-21 15:32:59 -04:00
qedr_cm.h IB/core: Use rdma_ah_attr accessor functions 2017-05-01 14:32:43 -04:00
qedr_hsi_rdma.h qedr: Add support for data path 2016-10-14 15:00:10 -04:00
verbs.c RDMA/qedr: Prevent memory overrun in verbs' user responses 2017-07-20 11:20:50 -04:00
verbs.h IB/core: Rename struct ib_ah_attr to rdma_ah_attr 2017-05-01 14:32:43 -04:00