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>
This commit is contained in:

committed by
David S. Miller

parent
4420bf21fb
commit
8518e9bb98
@@ -323,6 +323,10 @@ struct pernet_operations {
|
||||
* have to keep in mind all other pernet_operations and
|
||||
* to introduce a locking, if they share common resources.
|
||||
*
|
||||
* The only time they are called with exclusive lock is
|
||||
* from register_pernet_subsys(), unregister_pernet_subsys()
|
||||
* register_pernet_device() and unregister_pernet_device().
|
||||
*
|
||||
* Exit methods using blocking RCU primitives, such as
|
||||
* synchronize_rcu(), should be implemented via exit_batch.
|
||||
* Then, destruction of a group of net requires single
|
||||
|
Reference in New Issue
Block a user