]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7e5ba19331965a994dfd6c00be5ec8e1c02688d8
tree1a2b95a4b465f9f65a5e1cff017b53396f9bc842
parent21634784499a959b16c5a44334fab4f5ec49a4cc
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