ipv6: have a single rcu unlock point in __ip6_rt_update_pmtu
authorDavid Ahern <dsahern@gmail.com>
Thu, 1 Aug 2019 22:18:08 +0000 (15:18 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 5 Aug 2019 20:17:54 +0000 (13:17 -0700)
commit43a4b60d04362185cd5475fd77a02bf6c56c07e4
treefde1eeba44b0cd7009621a1f4c0373f3a8562887
parent5a0d7dcf85d0845572e3592d25c670609bc27a55
ipv6: have a single rcu unlock point in __ip6_rt_update_pmtu

Simplify the unlock path in __ip6_rt_update_pmtu by using a
single point where rcu_read_unlock is called.

Signed-off-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/route.c