diff options
| author | Eric Dumazet <[email protected]> | 2024-02-11 21:44:03 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2024-02-13 18:34:49 -0800 |
| commit | f383ced24d6ae6c1989394d052d3109b9d645f11 (patch) | |
| tree | 420e4b730cc9b88315e650fdf804c0a81892c2b0 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py | |
| parent | bed90b06b6812d9c8c848414b090ddf38f0e6cc1 (diff) | |
vlan: use xarray iterator to implement /proc/net/vlan/config
Adopt net->dev_by_index as I did in commit 0e0939c0adf9
("net-procfs: use xarray iterator to implement /proc/net/dev")
Not only this removes quadratic behavior, it also makes sure
an existing vlan device is always visible in the dump,
regardless of concurrent net->dev_base_head changes.
Signed-off-by: Eric Dumazet <[email protected]>
Reviewed-by: Jakub Kicinski <[email protected]>
Reviewed-by: Ido Schimmel <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions