]> git.baikalelectronics.ru Git - kernel.git/commit
ipmr: do not acquire mrt_lock in __pim_rcv()
authorEric Dumazet <edumazet@google.com>
Thu, 23 Jun 2022 04:34:35 +0000 (04:34 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 24 Jun 2022 10:34:37 +0000 (11:34 +0100)
commit035382ef47de17cf4f20148513a78add309d8e67
tree11a475f2c934f2cffd0441aad4aa41b995c6768c
parentffc1d412ac0e3beb4928b6f4fa751fbbd2c7e456
ipmr: do not acquire mrt_lock in __pim_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/ipv4/ipmr.c