OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3a22b7
)
ipv4: route: set ipv4 RTM_GETROUTE to not use rtnl
author
Florian Westphal
<fw@strlen.de>
Tue, 15 Aug 2017 14:34:44 +0000
(16:34 +0200)
committer
David S. Miller
<davem@davemloft.net>
Wed, 16 Aug 2017 00:20:55 +0000
(17:20 -0700)
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/route.c
patch
|
blob
|
history
diff --git
a/net/ipv4/route.c
b/net/ipv4/route.c
index
6810d20
..
618bbe1
100644
(file)
--- a/
net/ipv4/route.c
+++ b/
net/ipv4/route.c
@@
-3073,7
+3073,8
@@
int __init ip_rt_init(void)
xfrm_init();
xfrm4_init();
#endif
- rtnl_register(PF_INET, RTM_GETROUTE, inet_rtm_getroute, NULL, 0);
+ rtnl_register(PF_INET, RTM_GETROUTE, inet_rtm_getroute, NULL,
+ RTNL_FLAG_DOIT_UNLOCKED);
#ifdef CONFIG_SYSCTL
register_pernet_subsys(&sysctl_route_ops);