Reference

netdev_master_upper_dev_get(9)

Get master upper device

NAME

netdev_master_upper_dev_get - Get master upper device

SYNOPSIS

struct net_device * netdev_master_upper_dev_get(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 RTNL lock.

COPYRIGHT

History