Commit c82b031
dcb: 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>
Link: https://patch.msgid.link/20241014201828.91221-10-kuniyu@amazon.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>1 parent 3ac84e3 commit c82b031
1 file changed
+6
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2408 | 2408 | | |
2409 | 2409 | | |
2410 | 2410 | | |
| 2411 | + | |
| 2412 | + | |
| 2413 | + | |
| 2414 | + | |
| 2415 | + | |
2411 | 2416 | | |
2412 | 2417 | | |
2413 | 2418 | | |
| |||
2416 | 2421 | | |
2417 | 2422 | | |
2418 | 2423 | | |
2419 | | - | |
2420 | | - | |
| 2424 | + | |
2421 | 2425 | | |
2422 | 2426 | | |
2423 | 2427 | | |
| |||
0 commit comments