]> 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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 1 Apr 2020 09:02:06 +0000 (11:02 +0200)
commit0711edc522f1be6f4e9c2c56b9ac5898b144e35c
tree8e3f804c95f1ae2ef2a1ea297e2ca082f4d876b7
parentb78cc135d6019afe4078069ab60a5ab058870a30
RDMA/mlx5: Block delay drop to unprivileged users

commit 4f3378e7fa3a1af0475dd3a165f7fb49d591ad69 upstream.

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

Fixes: d595d951527f("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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/infiniband/hw/mlx5/qp.c