ip6mr: do not acquire mrt_lock before calling ip6mr_cache_unresolved
authorEric Dumazet <edumazet@google.com>
Thu, 23 Jun 2022 04:34:43 +0000 (04:34 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 24 Jun 2022 10:34:37 +0000 (11:34 +0100)
commitdb9eb7c8ae34c4acdb8a94c3566d1b4f4b5e7b1c
tree1a2b95a4b465f9f65a5e1cff017b53396f9bc842
parent638cf4a24a09d14c51415dd0964f978f97d54642
ip6mr: do not acquire mrt_lock before calling ip6mr_cache_unresolved

rcu_read_lock() protection is good enough.

ip6mr_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/ipv6/ip6mr.c