* [PATCH] proper comment for loopback initialization order
@ 2007-09-27 12:25 Denis V. Lunev
2007-09-27 19:03 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Denis V. Lunev @ 2007-09-27 12:25 UTC (permalink / raw)
To: davem; +Cc: dev, devel, netdev, containers
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);
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] proper comment for loopback initialization order
2007-09-27 12:25 [PATCH] proper comment for loopback initialization order Denis V. Lunev
@ 2007-09-27 19:03 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2007-09-27 19:03 UTC (permalink / raw)
To: den; +Cc: dev, devel, netdev, containers
From: "Denis V. Lunev" <den@openvz.org>
Date: Thu, 27 Sep 2007 16:25:27 +0400
> Subject: [PATCH] proper comment for loopback initialization order
> From: "Denis V. Lunev" <den@openvz.org>
> To: davem@davemloft.net
> Cc: dev@openvz.org, devel@openvz.org, netdev@vger.kernel.org,
> containers@lists.osdl.org
> Date: Thu, 27 Sep 2007 16:25:27 +0400
> Sender: <den@sw.ru>
> User-Agent: Mutt/1.5.16 (2007-06-09)
>
> 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>
Applied, but I had to fix the coding style of your comment,
please do it like this in the future:
/* Loopback is special. It should be initialized before any other network
* device and network subsystem.
*/
Thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-09-27 19:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-27 12:25 [PATCH] proper comment for loopback initialization order Denis V. Lunev
2007-09-27 19:03 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).