diff options
author | Yuval Avnery | 2019-03-11 05:18:24 +0100 |
---|---|---|
committer | Saeed Mahameed | 2019-03-29 20:24:41 +0100 |
commit | 80a2a9026b24c6bd34b8d58256973e22270bedec (patch) | |
tree | 33b811dfa8458cbb24019c60cd9df3805e29fa1c /lib | |
parent | net: mlx5: Add a missing check on idr_find, free buf (diff) | |
download | kernel-qcow2-linux-80a2a9026b24c6bd34b8d58256973e22270bedec.tar.gz kernel-qcow2-linux-80a2a9026b24c6bd34b8d58256973e22270bedec.tar.xz kernel-qcow2-linux-80a2a9026b24c6bd34b8d58256973e22270bedec.zip |
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>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions