diff options
author | Denis V. Lunev <den@openvz.org> | 2007-09-27 15:04:19 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-10 19:52:56 -0400 |
commit | 070ac3a2651e3c1c4d277c5f1981517427c386a7 (patch) | |
tree | 364fa74ca42b34e61d3d219e79212083f1f59702 /drivers/net/loopback.c | |
parent | f4618d39a34dab316090263b42cd8799f31ce277 (diff) |
[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>
Diffstat (limited to 'drivers/net/loopback.c')
-rw-r--r-- | drivers/net/loopback.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/loopback.c b/drivers/net/loopback.c index b6d4ae3ad506..2617320efa95 100644 --- a/drivers/net/loopback.c +++ b/drivers/net/loopback.c | |||
@@ -293,4 +293,7 @@ static int __init loopback_init(void) | |||
293 | return register_pernet_device(&loopback_net_ops); | 293 | return register_pernet_device(&loopback_net_ops); |
294 | } | 294 | } |
295 | 295 | ||
296 | /* Loopback is special. It should be initialized before any other network | ||
297 | * device and network subsystem. | ||
298 | */ | ||
296 | fs_initcall(loopback_init); | 299 | fs_initcall(loopback_init); |