mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-30 22:26:55 +00:00
ipv6: switch inet6_dump_ifinfo() to RCU protection
No longer hold RTNL while calling inet6_dump_ifinfo() Signed-off-by: Eric Dumazet <edumazet@google.com> Reviewed-by: Donald Hunter <donald.hunter@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
386520e0ec
commit
69fdb7e411
1 changed files with 1 additions and 1 deletions
|
@ -7462,7 +7462,7 @@ int __init addrconf_init(void)
|
|||
rtnl_af_register(&inet6_ops);
|
||||
|
||||
err = rtnl_register_module(THIS_MODULE, PF_INET6, RTM_GETLINK,
|
||||
NULL, inet6_dump_ifinfo, 0);
|
||||
NULL, inet6_dump_ifinfo, RTNL_FLAG_DUMP_UNLOCKED);
|
||||
if (err < 0)
|
||||
goto errout;
|
||||
|
||||
|
|
Loading…
Reference in a new issue