diff options
| author | Jakub Kicinski <[email protected]> | 2022-02-15 14:53:09 -0800 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2022-02-17 08:22:17 -0800 |
| commit | ae68db14b6164ce46beffaf35eb7c9bb2f92fee3 (patch) | |
| tree | 0fb1957384bf88225e30e269f29a57e621580d07 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 4d449bdc5b2678fd3afbf9b0c444ce38f34ac6f0 (diff) | |
net: transition netdev reg state earlier in run_todo
In prep for unregistering netdevs out of order move the netdev
state validation and change outside of the loop.
While at it modernize this code and use WARN() instead of
pr_err() + dump_stack().
Reviewed-by: Eric Dumazet <[email protected]>
Reviewed-by: Xin Long <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions