ipmr: do not acquire mrt_lock before calling ipmr_cache_unresolved()
authorEric Dumazet <edumazet@google.com>
Thu, 23 Jun 2022 04:34:37 +0000 (04:34 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 24 Jun 2022 10:34:37 +0000 (11:34 +0100)
commit9094db4b8004fca4899852684df2a32dab15c851
tree1f97777c0c51517dc1c8a2624eb437aef025d7fe
parent559260fd9d9a43afa4f8dd518969a1cc7dd40418
ipmr: do not acquire mrt_lock before calling ipmr_cache_unresolved()

rcu_read_lock() protection is good enough.

ipmr_cache_unresolved() uses a dedicated spinlock (mfc_unres_lock)

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