projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.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
|
blame
|
history
diff --git
a/net/ipv4/route.c
b/net/ipv4/route.c
index 6810d2076b1baed40a466518347bf559f720a0fc..618bbe1405fc57dfe8d9632f94a97fc9dd9f2a08 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);