[IPV4] devinet: Register inetdev earlier.
authorHerbert Xu <herbert@gondor.apana.org.au>
Wed, 21 Feb 2007 16:53:47 +0000 (01:53 +0900)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 26 Feb 2007 19:42:56 +0000 (11:42 -0800)
commit8030f54499925d073a88c09f30d5d844fb1b3190
tree4a5dddb3eff8a6eecf3ac5611c45cbac356f495c
parent45ba9dd2007da23da5ac21179451c3c9fee30a96
[IPV4] devinet: Register inetdev earlier.

This patch allocates inetdev at registration for all devices
in line with IPv6.  This allows sysctl configuration on the
devices to occur before they're brought up or addresses are
added.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
net/ipv4/devinet.c