diff options
Diffstat (limited to 'include/linux/netdevice.h')
-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 465add6c43e3..083b5989cecb 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h | |||
@@ -1079,6 +1079,8 @@ extern rwlock_t dev_base_lock; /* Device list lock */ | |||
1079 | list_for_each_entry_safe(d, n, &(net)->dev_base_head, dev_list) | 1079 | list_for_each_entry_safe(d, n, &(net)->dev_base_head, dev_list) |
1080 | #define for_each_netdev_continue(net, d) \ | 1080 | #define for_each_netdev_continue(net, d) \ |
1081 | list_for_each_entry_continue(d, &(net)->dev_base_head, dev_list) | 1081 | list_for_each_entry_continue(d, &(net)->dev_base_head, dev_list) |
1082 | #define for_each_netdev_continue_rcu(net, d) \ | ||
1083 | list_for_each_entry_continue_rcu(d, &(net)->dev_base_head, dev_list) | ||
1082 | #define net_device_entry(lh) list_entry(lh, struct net_device, dev_list) | 1084 | #define net_device_entry(lh) list_entry(lh, struct net_device, dev_list) |
1083 | 1085 | ||
1084 | static inline struct net_device *next_net_device(struct net_device *dev) | 1086 | static inline struct net_device *next_net_device(struct net_device *dev) |