]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
[NET]: Proper comment for loopback initialization order.
authorDenis V. Lunev <den@openvz.org>
Thu, 27 Sep 2007 19:04:19 +0000 (12:04 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:52:56 +0000 (16:52 -0700)
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>
drivers/net/loopback.c

index b6d4ae3ad506a387dbd152591e3f10044905c2cb..2617320efa950213e3ccc5125861d8206dd25b5a 100644 (file)
@@ -293,4 +293,7 @@ static int __init loopback_init(void)
        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);