Message ID | 20240222105021.1943116-10-edumazet@google.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 69fdb7e411b6d01eb08447e672302b69c9e176ad |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | rtnetlink: reduce RTNL pressure for dumps | expand |
Eric Dumazet <edumazet@google.com> writes: > 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>
diff --git a/net/ipv6/addrconf.c b/net/ipv6/addrconf.c index 8994ddc6c859e6bc68303e6e61663baf330aee00..244b670a44b92f10b8f18c444d72a2467f8ed90a 100644 --- a/net/ipv6/addrconf.c +++ b/net/ipv6/addrconf.c @@ -7447,7 +7447,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;
No longer hold RTNL while calling inet6_dump_ifinfo() Signed-off-by: Eric Dumazet <edumazet@google.com> --- net/ipv6/addrconf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)