]> git.baikalelectronics.ru Git - kernel.git/commit
ipmr: add rcu protection over (struct vif_device)->dev
authorEric Dumazet <edumazet@google.com>
Thu, 23 Jun 2022 04:34:32 +0000 (04:34 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 24 Jun 2022 10:34:37 +0000 (11:34 +0100)
commitf5fd7c2684de5da97547df22b857b59613fc7f1e
tree7c91d003c63e3d304036322e892a9bc833c76bee
parent30e636d56168751939846fefe8b18f228735fc5b
ipmr: add rcu protection over (struct vif_device)->dev

We will soon use RCU instead of rwlock in ipmr & ip6mr

This preliminary patch adds proper rcu verbs to read/write
(struct vif_device)->dev

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