diff options
| author | Cong Wang <[email protected]> | 2017-09-25 10:13:50 -0700 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2017-09-28 09:43:41 -0700 |
| commit | 1d8134fea2eb460698a281f91c03c400f7e546ce (patch) | |
| tree | 5bacbb640e20cbfefb00402959cf68125b42d3ac /tools/perf/scripts/python | |
| parent | 76cf546c2802f6e25113ba481d7e85d0298768c6 (diff) | |
net_sched: use idr to allocate basic filter handles
Instead of calling basic_get() in a loop to find
a unused handle, just switch to idr API to allocate
new handles.
Cc: Chris Mi <[email protected]>
Cc: Jamal Hadi Salim <[email protected]>
Signed-off-by: Cong Wang <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions