diff options
-rw-r--r-- | include/linux/netdevice.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index 9428793775a0..daf13d367498 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h | |||
@@ -1112,6 +1112,8 @@ extern rwlock_t dev_base_lock; /* Device list lock */ | |||
1112 | 1112 | ||
1113 | #define for_each_netdev(net, d) \ | 1113 | #define for_each_netdev(net, d) \ |
1114 | list_for_each_entry(d, &(net)->dev_base_head, dev_list) | 1114 | list_for_each_entry(d, &(net)->dev_base_head, dev_list) |
1115 | #define for_each_netdev_reverse(net, d) \ | ||
1116 | list_for_each_entry_reverse(d, &(net)->dev_base_head, dev_list) | ||
1115 | #define for_each_netdev_rcu(net, d) \ | 1117 | #define for_each_netdev_rcu(net, d) \ |
1116 | list_for_each_entry_rcu(d, &(net)->dev_base_head, dev_list) | 1118 | list_for_each_entry_rcu(d, &(net)->dev_base_head, dev_list) |
1117 | #define for_each_netdev_safe(net, d, n) \ | 1119 | #define for_each_netdev_safe(net, d, n) \ |