[IPV4/IPV6]: Fail registration if inet device construction fails
authorHerbert Xu <herbert@gondor.apana.org.au>
Tue, 31 Jul 2007 00:04:52 +0000 (17:04 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Tue, 31 Jul 2007 09:28:16 +0000 (02:28 -0700)
Now that netdev notifications can fail, we can use this to signal
errors during registration for IPv4/IPv6.  In particular, if we
fail to allocate memory for the inet device, we can fail the netdev
registration.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found