]> 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)
commit602f6b3c45f3b97752d2feb64e446438ddbacce9
tree7c91d003c63e3d304036322e892a9bc833c76bee
parentfa9856bd29b805c54c8ceb56a8d45f9be5c51616
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