diff options
author | Hangbin Liu <[email protected]> | 2024-05-29 12:09:08 +0800 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2024-05-30 18:29:38 -0700 |
commit | a79d8fe2ff8e78e549dc86cc853a61b029404871 (patch) | |
tree | f652070ce77b22dbdef1d1c21b3103294f45fe10 /tools/perf/scripts/python/sctop.py | |
parent | 57e3c5af2befaf54cbae326fe800c148852e67a1 (diff) |
ipv6: sr: restruct ifdefines
There are too many ifdef in IPv6 segment routing code that may cause logic
problems. like commit 160e9d275218 ("ipv6: sr: fix invalid unregister error
path"). To avoid this, the init functions are redefined for both cases. The
code could be more clear after all fidefs are removed.
Suggested-by: Simon Horman <[email protected]>
Suggested-by: David Ahern <[email protected]>
Signed-off-by: Hangbin Liu <[email protected]>
Reviewed-by: Sabrina Dubroca <[email protected]>
Reviewed-by: David Ahern <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions