[NET]: Dynamically allocate the loopback device, part 2.
authorDaniel Lezcano <dlezcano@fr.ibm.com>
Wed, 26 Sep 2007 02:18:04 +0000 (19:18 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:52:15 +0000 (16:52 -0700)
commit854d8363f37491c955b0edc60d37b62f3d71bb67
treefd8f1a2de2c60ca8abcac0b8117cdc5e293c2ac4
parentde3cb747ffac5f2a4a6bb156e7e2fd5229e688e5
[NET]: Dynamically allocate the loopback device, part 2.

Doing this makes loopback.c a better example of how to do a
simple network device, and it removes the special case
single static allocation of a struct net_device, hopefully
making maintenance easier.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
Acked-By: Kirill Korotaev <dev@sw.ru>
Acked-by: Benjamin Thery <benjamin.thery@bull.net>
drivers/net/loopback.c