diff options
Diffstat (limited to 'include/net/net_namespace.h')
-rw-r--r-- | include/net/net_namespace.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/net_namespace.h b/include/net/net_namespace.h index 1ab4f920f109..47e35cce3b64 100644 --- a/include/net/net_namespace.h +++ b/include/net/net_namespace.h | |||
@@ -291,6 +291,7 @@ static inline struct net *read_pnet(const possible_net_t *pnet) | |||
291 | #endif | 291 | #endif |
292 | } | 292 | } |
293 | 293 | ||
294 | /* Protected by net_rwsem */ | ||
294 | #define for_each_net(VAR) \ | 295 | #define for_each_net(VAR) \ |
295 | list_for_each_entry(VAR, &net_namespace_list, list) | 296 | list_for_each_entry(VAR, &net_namespace_list, list) |
296 | 297 | ||