diff options
| author | Jiri Pirko <[email protected]> | 2018-08-01 12:36:56 +0200 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2018-08-01 10:06:19 -0700 |
| commit | 5368140730e4a67169303edd3a13e31fd9b9d355 (patch) | |
| tree | 72d78f70e4d8ac4f0c2e8069340990d75f3a84c2 /tools/perf/scripts/python/compaction-times.py | |
| parent | 3d32f4c548bd8f3af58c59521bee9be127f3e87d (diff) | |
net: sched: fix notifications for action-held chains
Chains that only have action references serve as placeholders.
Until a non-action reference is created, user should not be aware
of the chain. Also he should not receive any notifications about it.
So send notifications for the new chain only in case the chain gets
the first non-action reference. Symmetrically to that, when
the last non-action reference is dropped, send the notification about
deleted chain.
Reported-by: Cong Wang <[email protected]>
Signed-off-by: Jiri Pirko <[email protected]>
Acked-by: Cong Wang <[email protected]>
v1->v2:
- made __tcf_chain_{get,put}() static as suggested by Cong
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions