[NET]: Dynamically allocate the loopback device, part 1.
authorDaniel Lezcano <dlezcano@fr.ibm.com>
Wed, 26 Sep 2007 02:16:28 +0000 (19:16 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:52:14 +0000 (16:52 -0700)
commitde3cb747ffac5f2a4a6bb156e7e2fd5229e688e5
treefe79764b8093843934c9b9f82f573e7a92cef406
parent556829657397b9b05baec6691ead4e22ee8d1567
[NET]: Dynamically allocate the loopback device, part 1.

This patch replaces all occurences to the static variable
loopback_dev to a pointer loopback_dev. That provides the
mindless, trivial, uninteressting change part for the dynamic
allocation for the loopback.

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>
Signed-off-by: David S. Miller <davem@davemloft.net>
16 files changed:
drivers/net/loopback.c
include/linux/netdevice.h
net/core/dst.c
net/decnet/dn_dev.c
net/decnet/dn_route.c
net/ipv4/devinet.c
net/ipv4/ipconfig.c
net/ipv4/ipvs/ip_vs_core.c
net/ipv4/route.c
net/ipv4/xfrm4_policy.c
net/ipv6/addrconf.c
net/ipv6/ip6_input.c
net/ipv6/netfilter/ip6t_REJECT.c
net/ipv6/route.c
net/ipv6/xfrm6_policy.c
net/xfrm/xfrm_policy.c