]> git.baikalelectronics.ru Git - kernel.git/commit
ip6mr: do not acquire mrt_lock in pim6_rcv()
authorEric Dumazet <edumazet@google.com>
Thu, 23 Jun 2022 04:34:41 +0000 (04:34 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 24 Jun 2022 10:34:37 +0000 (11:34 +0100)
commit7d8d885ee9d75f94d3c1c693a463239a991784e1
tree4a15ba6eab62dfaab505b18d74188304ca0a6df2
parentbc7344e04de2a643daa59eec25233f4309a1c3b8
ip6mr: do not acquire mrt_lock in pim6_rcv()

rcu_read_lock() protection is more than enough.

vif_dev_read() supports either mrt_lock or rcu_read_lock().

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/ip6mr.c