Files
linux/drivers/infiniband/hw/mlx5
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
..
2020-06-02 20:32:54 -03:00
2020-06-02 20:32:53 -03:00
2019-10-22 15:33:31 -03:00
2019-04-08 13:05:25 -03:00