diff options
author | Horatiu Vultur <[email protected]> | 2022-07-14 21:40:40 +0200 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2022-07-18 20:00:00 -0700 |
commit | 675c807ae26b267233b97cd5006979a6bb8d54d4 (patch) | |
tree | 953f205f20f82e79d5501db326d72d40b787fa71 /tools/perf/util/scripting-engines/trace-event-perl.c | |
parent | c1924684369762b112428a333ad00eac6ca89d96 (diff) |
net: lan966x: Fix usage of lan966x->mac_lock when used by FDB
When the SW bridge was trying to add/remove entries to/from HW, the
access to HW was not protected by any lock. In this way, it was
possible to have race conditions.
Fix this by using the lan966x->mac_lock to protect parallel access to HW
for this cases.
Fixes: 25ee9561ec622 ("net: lan966x: More MAC table functionality")
Signed-off-by: Horatiu Vultur <[email protected]>
Reviewed-by: Vladimir Oltean <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions