diff options
author | Vlad Buslov <[email protected]> | 2019-03-21 15:17:38 +0200 |
---|---|---|
committer | David S. Miller <[email protected]> | 2019-03-21 14:32:17 -0700 |
commit | 195c234d15c9e93c7ee60b7d32067a9937e611a5 (patch) | |
tree | cc2ffffdb0e10f09d7a03b2ac7f943d7d1d16ebe /tools/perf/scripts/python/export-to-sqlite.py | |
parent | f48ef4d5b083c9273d754246e2220d98f3aedd7d (diff) |
net: sched: flower: handle concurrent mask insertion
Without rtnl lock protection masks with same key can be inserted
concurrently. Insert temporary mask with reference count zero to masks
hashtable. This will cause any concurrent modifications to retry.
Wait for rcu grace period to complete after removing temporary mask from
masks hashtable to accommodate concurrent readers.
Signed-off-by: Vlad Buslov <[email protected]>
Acked-by: Jiri Pirko <[email protected]>
Suggested-by: Jiri Pirko <[email protected]>
Reviewed-by: Stefano Brivio <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions