---
name: "netdev_all_upper_get_next_dev_rcu"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/netdev_all_upper_get_next_dev_rcu"
---

# netdev\_all\_upper\_get\_next\_dev\_rcu(9)

Get the next dev from upper list

## NAME

netdev\_all\_upper\_get\_next\_dev\_rcu - Get the next dev from upper list

## SYNOPSIS

**struct net\_device \* netdev\_all\_upper\_get\_next\_dev\_rcu(struct net\_device \*** *dev***, struct list\_head \*\*** *iter***);**

## ARGUMENTS

*dev*

device

*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.

## COPYRIGHT
