diff options
author | Veaceslav Falico <vfalico@redhat.com> | 2013-08-28 23:25:08 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-08-29 16:19:42 -0400 |
commit | 8b5be8561b804edf6b58fc27edbccf1d45863e08 (patch) | |
tree | 969e67314edbc253f3bcb0460b7a16d93de619c5 /drivers/bus/omap_l3_smx.h | |
parent | net: add netdev_upper_get_next_dev_rcu(dev, iter) (diff) | |
download | linux-dev-8b5be8561b804edf6b58fc27edbccf1d45863e08.tar.xz linux-dev-8b5be8561b804edf6b58fc27edbccf1d45863e08.zip |
net: add netdev_for_each_upper_dev_rcu()
The new macro netdev_for_each_upper_dev_rcu(dev, upper, iter) iterates
through the dev->upper_dev_list starting from the first element, using
the netdev_upper_get_next_dev_rcu(dev, &iter).
Must be called under RCU read lock.
CC: "David S. Miller" <davem@davemloft.net>
CC: Eric Dumazet <edumazet@google.com>
CC: Jiri Pirko <jiri@resnulli.us>
CC: Alexander Duyck <alexander.h.duyck@intel.com>
CC: Cong Wang <amwang@redhat.com>
Signed-off-by: Veaceslav Falico <vfalico@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/bus/omap_l3_smx.h')
0 files changed, 0 insertions, 0 deletions