ipmr: convert /proc handlers to rcu_read_lock()
authorEric Dumazet <edumazet@google.com>
Thu, 23 Jun 2022 04:34:47 +0000 (04:34 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 24 Jun 2022 10:34:38 +0000 (11:34 +0100)
commitb96ef16d2f837870daaea51c38cd50458b95ad5c
treeef1ef9daa2a74e594000a2de71f4d2d61486133c
parent194366b28b8306b7a24596c57c09635ab2891252
ipmr: convert /proc handlers to rcu_read_lock()

We can use standard rcu_read_lock(), to get rid
of last read_lock(&mrt_lock) call points.

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