Name
netdev_has_upper_dev_all_rcu —
Check if device is linked to an upper device
Arguments
struct net_device * dev
device
struct net_device * upper_dev
upper device to check
Description
Find out if a device is linked to specified upper device and return true
in case it is. Note that this checks the entire upper device chain.
The caller must hold rcu lock.