diff options
author | Yevgeny Kliteynik <kliteyn@nvidia.com> | 2023-01-17 18:34:20 +0300 |
---|---|---|
committer | Saeed Mahameed <saeedm@nvidia.com> | 2023-02-08 06:01:04 +0300 |
commit | 288d85e07fbca5ee35882a4884dd701e43637be1 (patch) | |
tree | f7101f060eab2e337dba50d1ef9ff76b65116ce1 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 1e66220948df815d7b37e0ff8b4627ce10433738 (diff) | |
download | linux-288d85e07fbca5ee35882a4884dd701e43637be1.tar.xz |
net/mlx5: DR, Fix potential race in dr_rule_create_rule_nic
Selecting builder should be protected by the lock to prevent the case
where a new rule sets a builder in the nic_matcher while the previous
rule is still using the nic_matcher.
Fixing this issue and cleaning the error flow.
Fixes: b9b81e1e9382 ("net/mlx5: DR, For short chains of STEs, avoid allocating ste_arr dynamically")
Signed-off-by: Yevgeny Kliteynik <kliteyn@nvidia.com>
Reviewed-by: Alex Vesker <valex@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions