diff options
author | Veaceslav Falico <[email protected]> | 2013-08-28 23:25:08 +0200 |
---|---|---|
committer | David S. Miller <[email protected]> | 2013-08-29 16:19:42 -0400 |
commit | 8b5be8561b804edf6b58fc27edbccf1d45863e08 (patch) | |
tree | 969e67314edbc253f3bcb0460b7a16d93de619c5 /tools/perf/scripts/python/net_dropmonitor.py | |
parent | 48311f46853c0361f9fba7e0e6bb1652d633c049 (diff) |
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" <[email protected]>
CC: Eric Dumazet <[email protected]>
CC: Jiri Pirko <[email protected]>
CC: Alexander Duyck <[email protected]>
CC: Cong Wang <[email protected]>
Signed-off-by: Veaceslav Falico <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions