summaryrefslogtreecommitdiffstats
path: root/net/core/net_namespace.c
diff options
context:
space:
mode:
authorKirill Tkhai <ktkhai@virtuozzo.com>2018-03-27 18:02:32 +0300
committerDavid S. Miller <davem@davemloft.net>2018-03-27 13:18:09 -0400
commit8518e9bb98b602eca0717d5aaad63ccbe56539d2 (patch)
treedc2887c1b2089055ad7c2d13df0ea20b3a27969b /net/core/net_namespace.c
parent4420bf21fb6c0306e36ad58ade1e741fba57ce65 (diff)
downloadlinux-8518e9bb98b602eca0717d5aaad63ccbe56539d2.tar.gz
linux-8518e9bb98b602eca0717d5aaad63ccbe56539d2.tar.bz2
linux-8518e9bb98b602eca0717d5aaad63ccbe56539d2.zip
net: Add more comments
This adds comments to different places to improve readability. Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/net_namespace.c')
-rw-r--r--net/core/net_namespace.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/core/net_namespace.c b/net/core/net_namespace.c
index 9e8ee4640451..b5796d17a302 100644
--- a/net/core/net_namespace.c
+++ b/net/core/net_namespace.c
@@ -43,6 +43,8 @@ static bool init_net_initialized;
/*
* pernet_ops_rwsem: protects: pernet_list, net_generic_ids,
* init_net_initialized and first_device pointer.
+ * This is internal net namespace object. Please, don't use it
+ * outside.
*/
DECLARE_RWSEM(pernet_ops_rwsem);