]> 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)
commita432dbb473b15afcf01c155bcc50ec0723f62063
tree1f97777c0c51517dc1c8a2624eb437aef025d7fe
parent07fb03d9ba404ac23b65f8c02285f33306001d51
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