Name

netdev_upper_get_next_dev_rcu — Get the next dev from upper list

Synopsis

struct net_device * netdev_upper_get_next_dev_rcu (struct net_device * dev,
 struct list_head ** iter);
 

Arguments

struct net_device * dev

device

struct list_head ** iter

list_head ** of the current position

Description

Gets the next device from the dev's upper list, starting from iter position. The caller must hold RCU read lock.