]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit160c84f4160e41cae1475406b973b9ecc8af6c99
tree1f97777c0c51517dc1c8a2624eb437aef025d7fe
parent70be0279c318be50ac31240a493673b9caae84ee
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