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/net/bonding | |
parent | 48311f46853c0361f9fba7e0e6bb1652d633c049 (diff) | |
download | linux-stable-8b5be8561b804edf6b58fc27edbccf1d45863e08.tar.gz linux-stable-8b5be8561b804edf6b58fc27edbccf1d45863e08.tar.bz2 linux-stable-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/net/bonding')
0 files changed, 0 insertions, 0 deletions