From: Denis V. Lunev Date: Thu, 27 Sep 2007 19:04:19 +0000 (-0700) Subject: [NET]: Proper comment for loopback initialization order. X-Git-Tag: v2.6.24-rc1~1454^2~329 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=070ac3a2651e3c1c4d277c5f1981517427c386a7;p=linux-2.6 [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 and this change is non-obvious and important enough to add proper comment. Signed-off-by: Denis V. Lunev Signed-off-by: David S. Miller --- diff --git a/drivers/net/loopback.c b/drivers/net/loopback.c index b6d4ae3ad5..2617320efa 100644 --- a/drivers/net/loopback.c +++ b/drivers/net/loopback.c @@ -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);