Scroll to navigation

NETDEV_HAS_ANY_UPPER(9) Network device support NETDEV_HAS_ANY_UPPER(9)

NAME

netdev_has_any_upper_dev - Check if device is linked to some device

SYNOPSIS

bool netdev_has_any_upper_dev(struct net_device * dev);

ARGUMENTS

dev
device

DESCRIPTION

Find out if a device is linked to an upper device and return true in case it is. The caller must hold the RTNL lock.

COPYRIGHT

April 2019 Kernel Hackers Manual 4.9.