linux/drivers/infiniband/hw
Leon Romanovsky 6512f11d38 RDMA/mlx5: Return an error if copy_to_user fails
In theoretical event, the ib_copy_to_udata() can fail, so return -EFAULT
error to the user, so he will destroy the QP.

Fixes: 50aec2c313 ("RDMA/mlx5: Return ECE data after modify QP")
Link: https://lore.kernel.org/r/20200602125548.172654-2-leon@kernel.org
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
2020-06-03 15:45:01 -03:00
..
bnxt_re RDMA/bnxt_re: Remove FMR leftovers 2020-06-02 20:32:53 -03:00
cxgb4 RDMA/iw_cxgb4: cleanup device debugfs entries on ULD remove 2020-05-25 15:38:35 -03:00
efa RDMA/efa: Report host information to the device 2020-05-21 10:05:00 -03:00
hfi1 IB/hfi1: Use free_netdev() in hfi1_netdev_free() 2020-06-02 21:35:03 -03:00
hns RDMA/hns: Uninitialized variable in modify_qp_init_to_rtr() 2020-06-02 20:32:54 -03:00
i40iw RDMA: Remove 'max_map_per_fmr' 2020-06-02 20:32:54 -03:00
mlx4 RDMA/mlx4: Remove FMR support for memory registration 2020-06-02 20:32:54 -03:00
mlx5 RDMA/mlx5: Return an error if copy_to_user fails 2020-06-03 15:45:01 -03:00
mthca RDMA: Remove 'max_map_per_fmr' 2020-06-02 20:32:54 -03:00
ocrdma RDMA: Remove 'max_map_per_fmr' 2020-06-02 20:32:54 -03:00
qedr RDMA: Remove 'max_map_per_fmr' 2020-06-02 20:32:54 -03:00
qib RDMA: Remove 'max_map_per_fmr' 2020-06-02 20:32:54 -03:00
usnic RDMA: Remove 'max_map_per_fmr' 2020-06-02 20:32:54 -03:00
vmw_pvrdma RDMA: Group create AH arguments in struct 2020-05-02 20:19:53 -03:00
Makefile RDMA/iw_cxgb3: Remove the iw_cxgb3 module from kernel 2019-10-04 15:08:59 -03:00