linux_dsm_epyc7002/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
main.c qed*: Set rdma generic functions prefix 2017-06-20 12:34:08 -04:00
Makefile
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.h Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2017-06-21 17:35:22 -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