[NET]: Proper comment for loopback initialization order.

Loopback device is special. It should be initialized at the very
beginning.  Initialization order has been changed by
Eric W. Biederman <ebiederm@xmission.com> and this change is non-obvious
and important enough to add proper comment.

Signed-off-by: Denis V. Lunev <den@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Denis V. Lunev 2007-09-27 12:04:19 -07:00 committed by David S. Miller
parent f4618d39a3
commit 070ac3a265
1 changed files with 3 additions and 0 deletions

View File

@ -293,4 +293,7 @@ static int __init loopback_init(void)
return register_pernet_device(&loopback_net_ops); return register_pernet_device(&loopback_net_ops);
} }
/* Loopback is special. It should be initialized before any other network
* device and network subsystem.
*/
fs_initcall(loopback_init); fs_initcall(loopback_init);