mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-10 17:31:37 -04:00
Revert "net/mlx5e: Check the number of elements before walk TC rhashtable"
This reverts commit4e25b661f4. This Commit was mistakenly applied by pulling the wrong tag, remove it. Fixes:4e25b661f4("net/mlx5e: Check the number of elements before walk TC rhashtable") Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
This commit is contained in:
@@ -152,7 +152,7 @@ void mlx5_esw_ipsec_restore_dest_uplink(struct mlx5_core_dev *mdev)
|
||||
|
||||
xa_for_each(&esw->offloads.vport_reps, i, rep) {
|
||||
rpriv = rep->rep_data[REP_ETH].priv;
|
||||
if (!rpriv || !rpriv->netdev || !atomic_read(&rpriv->tc_ht.nelems))
|
||||
if (!rpriv || !rpriv->netdev)
|
||||
continue;
|
||||
|
||||
rhashtable_walk_enter(&rpriv->tc_ht, &iter);
|
||||
|
||||
Reference in New Issue
Block a user