commit | b5ba76a58b09c09ed7efc97de18f93d28c04ee4e | [log] [tgz] |
---|---|---|
author | Yuval Avnery <yuvalav@mellanox.com> | Mon Mar 11 06:18:24 2019 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Apr 17 08:37:48 2019 +0200 |
tree | 1243b5437dfd1d73f60101f4e7b5debd40370378 | |
parent | 7143c8997ae84bbed8d8698fd317d537b5c3e23d [diff] |
net/mlx5e: Add a lock on tir list [ Upstream commit 80a2a9026b24c6bd34b8d58256973e22270bedec ] 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>