SysTutorials

Linux Manual Pages › Section 9

netdev_master_upper_dev_get_rcu(9)

netdev_master_upper_dev_get_rcu - Get master upper device

Synopsis

struct net_device *netdev_master_upper_dev_get_rcu(struct net_device *dev);

Arguments

dev

device

Description

Find a master upper device and return pointer to it or NULL in case it’s not there. The caller must hold the RCU read lock.

Copyright