]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb9c03b74ab2a1796bede2efdf3e3a32adfedc8ac
treeef1ef9daa2a74e594000a2de71f4d2d61486133c
parentdb84d6514e5636d22bd229bb680498cb0b82b5ec
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