diff options
author | Eric Dumazet <edumazet@google.com> | 2024-02-22 10:50:16 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2024-02-26 11:46:12 +0000 |
commit | 69fdb7e411b6d01eb08447e672302b69c9e176ad (patch) | |
tree | df7d638ebf79b6a62fcdbb0c7306f0c78017b593 /net/ipv6 | |
parent | 386520e0ecc01004d3a29c70c5a77d4bbf8a8420 (diff) | |
download | linux-69fdb7e411b6d01eb08447e672302b69c9e176ad.tar.gz linux-69fdb7e411b6d01eb08447e672302b69c9e176ad.tar.bz2 linux-69fdb7e411b6d01eb08447e672302b69c9e176ad.zip |
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>
Diffstat (limited to 'net/ipv6')
-rw-r--r-- | net/ipv6/addrconf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/addrconf.c b/net/ipv6/addrconf.c index 6556136d2b8d..a280614b3765 100644 --- a/net/ipv6/addrconf.c +++ b/net/ipv6/addrconf.c @@ -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; |