ipmr: do not acquire mrt_lock in ipmr_get_route()
authorEric Dumazet <edumazet@google.com>
Thu, 23 Jun 2022 04:34:39 +0000 (04:34 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 24 Jun 2022 10:34:37 +0000 (11:34 +0100)
commite4cd9868e8ec3691e6d94725c8b10edd1ec6eca2
tree9023915cd767a7f8dc8ba91dd9d0375e6dc1699c
parent4eadb88244d17056179a47f613e30c49191072c5
ipmr: do not acquire mrt_lock in ipmr_get_route()

mr_fill_mroute() uses standard rcu_read_unlock(),
no need to grab mrt_lock anymore.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/ipmr.c