commit | 80a2a9026b24c6bd34b8d58256973e22270bedec | [log] [tgz] |
---|---|---|
author | Yuval Avnery <yuvalav@mellanox.com> | Mon Mar 11 06:18:24 2019 +0200 |
committer | Saeed Mahameed <saeedm@mellanox.com> | Fri Mar 29 12:24:41 2019 -0700 |
tree | 33b811dfa8458cbb24019c60cd9df3805e29fa1c | |
parent | 8e949363f017e2011464812a714fb29710fb95b4 [diff] |
net/mlx5e: Add a lock on tir list Refresh tirs is looping over a global list of tirs while netdevs are adding and removing tirs from that list. That is why a lock is required. Fixes: 724b2aa15126 ("net/mlx5e: TIRs management refactoring") Signed-off-by: Yuval Avnery <yuvalav@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>