summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorVlad Buslov <vladbu@nvidia.com>2022-01-06 16:40:18 +0200
committerSaeed Mahameed <saeedm@nvidia.com>2022-02-01 20:59:38 -0800
commit04f8c12f031fcd0ffa0c72822eb665ceb2c872e7 (patch)
tree06268da0b4ae5b41c1f4071a47e06eae3a6fe7c3 /tools/perf/scripts/python/exported-sql-viewer.py
parentc7108979a010f693d9f3b0adc7aa770b33d1b77d (diff)
net/mlx5: Bridge, take rtnl lock in init error handler
The mlx5_esw_bridge_cleanup() is expected to be called with rtnl lock taken, which is true for mlx5e_rep_bridge_cleanup() function but not for error handling code in mlx5e_rep_bridge_init(). Add missing rtnl lock/unlock calls and extend both mlx5_esw_bridge_cleanup() and its dual function mlx5_esw_bridge_init() with ASSERT_RTNL() to verify the invariant from now on. Fixes: 7cd6a54a8285 ("net/mlx5: Bridge, handle FDB events") Fixes: 19e9bfa044f3 ("net/mlx5: Bridge, add offload infrastructure") Signed-off-by: Vlad Buslov <vladbu@nvidia.com> Reviewed-by: Roi Dayan <roid@nvidia.com> Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions