aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJarek Poplawski <[email protected]>2009-01-05 18:14:19 -0800
committerDavid S. Miller <[email protected]>2009-01-05 18:14:19 -0800
commit6f57321422e0d359e83c978c2b03db77b967b7d5 (patch)
tree80d92a8fff5b5ae27ca618f34acf9d696289d6ba /tools/perf/scripts/python
parentf1d3e4dca3f8d4f55656477e83d0afe0ea7cbaed (diff)
pkt_sched: cls_u32: Fix locking in u32_change()
New nodes are inserted in u32_change() under rtnl_lock() with wmb(), so without tcf_tree_lock() like in other classifiers (e.g. cls_fw). This isn't enough without rmb() on the read side, but on the other hand adding such barriers doesn't give any savings, so the lock is added instead. Reported-by: m0sia <[email protected]> Signed-off-by: Jarek Poplawski <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions