Skip to content

Commit b7bbd69

Browse files
author
Saeed Mahameed
committed
Revert "net/mlx5e: Check the number of elements before walk TC rhashtable"
This reverts commit 4e25b66. This Commit was mistakenly applied by pulling the wrong tag, remove it. Fixes: 4e25b66 ("net/mlx5e: Check the number of elements before walk TC rhashtable") Signed-off-by: Saeed Mahameed <[email protected]>
1 parent 8deeefb commit b7bbd69

File tree

1 file changed

+1
-1
lines changed
  • drivers/net/ethernet/mellanox/mlx5/core/esw

1 file changed

+1
-1
lines changed

drivers/net/ethernet/mellanox/mlx5/core/esw/ipsec_fs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ void mlx5_esw_ipsec_restore_dest_uplink(struct mlx5_core_dev *mdev)
152152

153153
xa_for_each(&esw->offloads.vport_reps, i, rep) {
154154
rpriv = rep->rep_data[REP_ETH].priv;
155-
if (!rpriv || !rpriv->netdev || !atomic_read(&rpriv->tc_ht.nelems))
155+
if (!rpriv || !rpriv->netdev)
156156
continue;
157157

158158
rhashtable_walk_enter(&rpriv->tc_ht, &iter);

0 commit comments

Comments
 (0)