]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/mlx5: Block delay drop to unprivileged users
authorMaor Gottlieb <maorg@mellanox.com>
Sun, 22 Mar 2020 12:49:06 +0000 (14:49 +0200)
committerJason Gunthorpe <jgg@mellanox.com>
Wed, 25 Mar 2020 12:56:30 +0000 (09:56 -0300)
commita570d2da8779174712024ef34855578484ce83a4
tree1807f3501ff1b1950fceaecf7789308042d203cd
parent410f473d4c9b5de2ebd568cde2867657421d9fe6
RDMA/mlx5: Block delay drop to unprivileged users

It has been discovered that this feature can globally block the RX port,
so it should be allowed for highly privileged users only.

Fixes: 502f4f9f6c3b("IB/mlx5: Add support to dropless RQ")
Link: https://lore.kernel.org/r/20200322124906.1173790-1-leon@kernel.org
Signed-off-by: Maor Gottlieb <maorg@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/mlx5/qp.c