Message ID | 20220413174320.28989-2-dsahern@kernel.org (mailing list archive) |
---|---|
State | Accepted |
Commit | 83daab06252ee5d0e1f4373ff28b79304945fc19 |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | l3mdev: Fix ip tunnel case after recent l3mdev change | expand |
diff --git a/net/l3mdev/l3mdev.c b/net/l3mdev/l3mdev.c index 4eb8892fb2ff..ca10916340b0 100644 --- a/net/l3mdev/l3mdev.c +++ b/net/l3mdev/l3mdev.c @@ -147,7 +147,7 @@ int l3mdev_master_upper_ifindex_by_index_rcu(struct net *net, int ifindex) dev = dev_get_by_index_rcu(net, ifindex); while (dev && !netif_is_l3_master(dev)) - dev = netdev_master_upper_dev_get(dev); + dev = netdev_master_upper_dev_get_rcu(dev); return dev ? dev->ifindex : 0; }