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 <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>1 parent 02cdd78 commit cdc5c11
1 file changed
+5
-5
lines changed| 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