ipmr: do not acquire mrt_lock in ioctl(SIOCGETVIFCNT)
authorEric Dumazet <edumazet@google.com>
Thu, 23 Jun 2022 04:34:36 +0000 (04:34 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 24 Jun 2022 10:34:37 +0000 (11:34 +0100)
commit559260fd9d9a43afa4f8dd518969a1cc7dd40418
treef1abbe98e715e76c1f33f76e60b2bea961a6afd2
parent121fefc669bf6f603bbda380c91d788405bc4f1f
ipmr: do not acquire mrt_lock in ioctl(SIOCGETVIFCNT)

rcu_read_lock() protection is good enough.

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