]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commitdfd2de7d0ceffbfa4f0f2a061b86d22a3e7a709e
treefd8f1a2de2c60ca8abcac0b8117cdc5e293c2ac4
parentc5a74189c9f9e6d3b7359b851ea3acbe6a2ebe6e
[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