Commit 3ac84e3
ipmr: Use rtnl_register_many().
We will remove rtnl_register() and rtnl_register_module() in favour
of rtnl_register_many().
When it succeeds for built-in callers, 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-9-kuniyu@amazon.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>1 parent a37b0e4 commit 3ac84e3
2 files changed
+22
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3137 | 3137 | | |
3138 | 3138 | | |
3139 | 3139 | | |
| 3140 | + | |
| 3141 | + | |
| 3142 | + | |
| 3143 | + | |
| 3144 | + | |
| 3145 | + | |
| 3146 | + | |
| 3147 | + | |
| 3148 | + | |
| 3149 | + | |
| 3150 | + | |
3140 | 3151 | | |
3141 | 3152 | | |
3142 | 3153 | | |
| |||
3157 | 3168 | | |
3158 | 3169 | | |
3159 | 3170 | | |
3160 | | - | |
3161 | | - | |
3162 | | - | |
3163 | | - | |
3164 | | - | |
3165 | | - | |
3166 | | - | |
3167 | | - | |
3168 | | - | |
| 3171 | + | |
| 3172 | + | |
3169 | 3173 | | |
3170 | 3174 | | |
3171 | 3175 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1367 | 1367 | | |
1368 | 1368 | | |
1369 | 1369 | | |
| 1370 | + | |
| 1371 | + | |
| 1372 | + | |
| 1373 | + | |
| 1374 | + | |
| 1375 | + | |
1370 | 1376 | | |
1371 | 1377 | | |
1372 | 1378 | | |
| |||
1389 | 1395 | | |
1390 | 1396 | | |
1391 | 1397 | | |
1392 | | - | |
1393 | | - | |
1394 | | - | |
| 1398 | + | |
| 1399 | + | |
1395 | 1400 | | |
1396 | 1401 | | |
1397 | 1402 | | |
| |||
1408 | 1413 | | |
1409 | 1414 | | |
1410 | 1415 | | |
1411 | | - | |
| 1416 | + | |
1412 | 1417 | | |
1413 | 1418 | | |
1414 | 1419 | | |
| |||
0 commit comments