]> git.ipfire.org Git - thirdparty/kernel/stable.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:00:14 +0000 (11:00 +0200)
commita46bd53829bd1af85e4d47598afa716700bc4d1e
tree482d71c28ca813459374adadca010a69fd9a548c
parentc129a6352fce07433d7ec729d48bbc7958f9c1ef
RDMA/mlx5: Block delay drop to unprivileged users

commit ba80013fba656b9830ef45cd40a6a1e44707f47a 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: 03404e8ae652("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