ipv6: route: make rtm_getroute not assume rtnl is locked
authorFlorian Westphal <fw@strlen.de>
Tue, 15 Aug 2017 14:34:42 +0000 (16:34 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 Aug 2017 00:20:54 +0000 (17:20 -0700)
commit121622dba8da9c709b72d801eae7664fa7da7c36
tree9f0772a6804300fc167cc11b682c59583e9acd74
parent2cc7659545bbf5e87795726cb15d09827c6f0fa6
ipv6: route: make rtm_getroute not assume rtnl is locked

__dev_get_by_index assumes RTNL is held, use _rcu version instead.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/route.c