diff options
author | Kuniyuki Iwashima <kuniyu@amazon.com> | 2024-10-14 23:18:21 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-10-16 04:52:25 +0300 |
commit | cc72bb03032568f034c9fb82c63ec847938d6b99 (patch) | |
tree | f692b5d1c46039ca1c0758846ab58ea8c93a289c /tools/perf/scripts/python | |
parent | d0d14aef50a6184426c5a05b9815fb2697d6d42c (diff) | |
download | linux-cc72bb03032568f034c9fb82c63ec847938d6b99.tar.xz |
net: sched: Use rtnl_register_many().
We will remove rtnl_register() in favour of rtnl_register_many().
When it succeeds, rtnl_register_many() guarantees all rtnetlink types
in the passed array are supported, and there is no chance that a part
of message types is not supported.
Let's use rtnl_register_many() instead.
Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Acked-by: Jamal Hadi Salim <jhs@mojatatu.com>
Link: https://patch.msgid.link/20241014201828.91221-5-kuniyu@amazon.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions