commit | 9a739f1ad0b12f73afc176b2788c6d0f4e9cc739 | [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:36:45 2019 +0200 |
tree | 604bfdcfbecc3f1f7d1f9e2df9f73e526d1353c7 | |
parent | 8e302e8e10b05165ed21273539a1e6a83ab93e9e [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>