net: Add comment about pernet_operations methods and synchronization
authorKirill Tkhai <ktkhai@virtuozzo.com>
Tue, 13 Mar 2018 10:55:55 +0000 (13:55 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 13 Mar 2018 15:31:42 +0000 (11:31 -0400)
commit6056415d3a513846f774e7bbee0de0460b1c15df
tree1cc220ad263658e62a9da40a46c292926ee898f8
parent8b4e6b3ca2ed63917e18303005fdd34a586e86db
net: Add comment about pernet_operations methods and synchronization

Make locking scheme be visible for users, and provide
a comment what for we are need exit_batch() methods,
and when it should be used.

Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/net_namespace.h