OpenVZ Forum


Home » Mailing lists » Devel » [PATCH] proper comment for loopback initialization order
[PATCH] proper comment for loopback initialization order [message #20887] Thu, 27 September 2007 12:24 Go to previous message
den is currently offline  den
Messages: 494
Registered: December 2005
Senior Member
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>

--- ./drivers/net/loopback.c.loopcomment	2007-08-26 19:30:38.000000000 +0400
+++ ./drivers/net/loopback.c	2007-09-27 16:08:06.000000000 +0400
@@ -293,4 +293,6 @@ 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);
 
Read Message
Read Message
Previous Topic: [RFC][PATCH] Devices visibility container
Next Topic: [PATCH] various dst_ifdown routines to catch refcounting bugs
Goto Forum:
  


Current Time: Mon Aug 18 17:47:45 GMT 2025

Total time taken to generate the page: 0.30628 seconds