projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
386520e
)
ipv6: switch inet6_dump_ifinfo() to RCU protection
author
Eric Dumazet
<edumazet@google.com>
Thu, 22 Feb 2024 10:50:16 +0000
(10:50 +0000)
committer
David S. Miller
<davem@davemloft.net>
Mon, 26 Feb 2024 11:46:12 +0000
(11:46 +0000)
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>
net/ipv6/addrconf.c
patch
|
blob
|
history
diff --git
a/net/ipv6/addrconf.c
b/net/ipv6/addrconf.c
index
6556136
..
a280614
100644
(file)
--- 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;