]> 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)
commit3a5235de24ec208951b833fa4a5f92948b8e4ef3
tree1a2b95a4b465f9f65a5e1cff017b53396f9bc842
parentf525e70cde9eba098ff2d64174bff71d1649c7d8
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