diff options
| author | Ulf Hansson <ulf.hansson@linaro.org> | 2025-02-28 12:37:14 +0100 |
|---|---|---|
| committer | Ulf Hansson <ulf.hansson@linaro.org> | 2025-02-28 12:37:14 +0100 |
| commit | c432bdcf39d52cbba7487d4ebfcf735cee59481e (patch) | |
| tree | 5235fe21993c9fb04cbada15ed940961068258c3 /include/net/l3mdev.h | |
| parent | pmdomain: Merge branch rockchip into next (diff) | |
| parent | Linux 6.14-rc4 (diff) | |
| download | linux-c432bdcf39d52cbba7487d4ebfcf735cee59481e.tar.gz linux-c432bdcf39d52cbba7487d4ebfcf735cee59481e.zip | |
pmdomain: Merge tag 'v6.14-rc4' from Linus into next
Linux 6.14-rc4
Diffstat (limited to 'include/net/l3mdev.h')
| -rw-r--r-- | include/net/l3mdev.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/l3mdev.h b/include/net/l3mdev.h index 2d6141f28b53..f7fe796e8429 100644 --- a/include/net/l3mdev.h +++ b/include/net/l3mdev.h @@ -198,10 +198,12 @@ struct sk_buff *l3mdev_l3_out(struct sock *sk, struct sk_buff *skb, u16 proto) if (netif_is_l3_slave(dev)) { struct net_device *master; + rcu_read_lock(); master = netdev_master_upper_dev_get_rcu(dev); if (master && master->l3mdev_ops->l3mdev_l3_out) skb = master->l3mdev_ops->l3mdev_l3_out(master, sk, skb, proto); + rcu_read_unlock(); } return skb; |
