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 bcf1083857fc..5077de028317 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h | |||
@@ -1081,6 +1081,8 @@ extern rwlock_t dev_base_lock; /* Device list lock */ | |||
1081 | 1081 | ||
1082 | #define for_each_netdev(net, d) \ | 1082 | #define for_each_netdev(net, d) \ |
1083 | list_for_each_entry(d, &(net)->dev_base_head, dev_list) | 1083 | list_for_each_entry(d, &(net)->dev_base_head, dev_list) |
1084 | #define for_each_netdev_rcu(net, d) \ | ||
1085 | list_for_each_entry_rcu(d, &(net)->dev_base_head, dev_list) | ||
1084 | #define for_each_netdev_safe(net, d, n) \ | 1086 | #define for_each_netdev_safe(net, d, n) \ |
1085 | list_for_each_entry_safe(d, n, &(net)->dev_base_head, dev_list) | 1087 | list_for_each_entry_safe(d, n, &(net)->dev_base_head, dev_list) |
1086 | #define for_each_netdev_continue(net, d) \ | 1088 | #define for_each_netdev_continue(net, d) \ |