aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorVladimir Oltean <[email protected]>2021-10-24 20:17:52 +0300
committerDavid S. Miller <[email protected]>2021-10-25 12:59:41 +0100
commitf7eb4a1c0864821fe99edf12aca09739f9cbd7a4 (patch)
tree1888441f36718b323c60652a86bf50eb6c838ffe /tools/perf/scripts/python/syscall-counts-by-pid.py
parent2468346c5677919de288bee85a0fefbef70c1e4e (diff)
net: dsa: b53: serialize access to the ARL table
The b53 driver performs non-atomic transactions to the ARL table when adding, deleting and reading FDB and MDB entries. Traditionally these were all serialized by the rtnl_lock(), but now it is possible that DSA calls ->port_fdb_add and ->port_fdb_del without holding that lock. So the driver must have its own serialization logic. Add a mutex and hold it from all entry points (->port_fdb_{add,del,dump}, ->port_mdb_{add,del}). Signed-off-by: Vladimir Oltean <[email protected]> Reviewed-by: Florian Fainelli <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions