Commit cdc5c11
ipv6: Hold rtnl_net_lock() in addrconf_init() and addrconf_cleanup().
addrconf_init() holds RTNL for blackhole_netdev, which is the global
device in init_net.
addrconf_cleanup() holds RTNL to clean up devices in init_net too.
Let's use rtnl_net_lock(&init_net) there.
Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Link: https://patch.msgid.link/20250115080608.28127-6-kuniyu@amazon.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>1 parent 02cdd78 commit cdc5c11
1 file changed
Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7460 | 7460 | | |
7461 | 7461 | | |
7462 | 7462 | | |
7463 | | - | |
| 7463 | + | |
7464 | 7464 | | |
7465 | | - | |
| 7465 | + | |
7466 | 7466 | | |
7467 | 7467 | | |
7468 | 7468 | | |
| |||
7512 | 7512 | | |
7513 | 7513 | | |
7514 | 7514 | | |
7515 | | - | |
| 7515 | + | |
7516 | 7516 | | |
7517 | 7517 | | |
7518 | 7518 | | |
7519 | | - | |
| 7519 | + | |
7520 | 7520 | | |
7521 | 7521 | | |
7522 | 7522 | | |
7523 | 7523 | | |
7524 | 7524 | | |
7525 | | - | |
| 7525 | + | |
7526 | 7526 | | |
7527 | 7527 | | |
7528 | 7528 | | |
0 commit comments