From: Florian Westphal Date: Tue, 15 Aug 2017 14:34:44 +0000 (+0200) Subject: ipv4: route: set ipv4 RTM_GETROUTE to not use rtnl X-Git-Tag: v4.14-rc1~130^2~243^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=394f51abb3d04f33fb798f04b16ae6b0491ea4ec;p=platform%2Fkernel%2Flinux-rpi3.git ipv4: route: set ipv4 RTM_GETROUTE to not use rtnl Signed-off-by: Florian Westphal Signed-off-by: David S. Miller --- diff --git a/net/ipv4/route.c b/net/ipv4/route.c index 6810d20..618bbe1 100644 --- 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);