]> git.dujemihanovic.xyz Git - linux.git/commit
net/mlx5: Bridge, set debugfs access right to root-only
authorVlad Buslov <vladbu@nvidia.com>
Tue, 27 Jun 2023 07:26:56 +0000 (09:26 +0200)
committerSaeed Mahameed <saeedm@nvidia.com>
Wed, 26 Jul 2023 21:31:04 +0000 (14:31 -0700)
commiteb02b93aad952008f1692cee5c5b13001e908407
treeb07cdc3bcc32a954a8d1af6d2988a348a800a07c
parent39646d9bcd1a65d2396328026626859a1dab59d7
net/mlx5: Bridge, set debugfs access right to root-only

As suggested during code review set the access rights for bridge 'fdb'
debugfs file to root-only.

Fixes: 791eb78285e8 ("net/mlx5: Bridge, expose FDB state via debugfs")
Reported-by: Jakub Kicinski <kuba@kernel.org>
Link: https://lore.kernel.org/netdev/20230619120515.5045132a@kernel.org/
Signed-off-by: Vlad Buslov <vladbu@nvidia.com>
Reviewed-by: Gal Pressman <gal@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge_debugfs.c