diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2007-07-30 17:04:52 -0700 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-07-31 02:28:16 -0700 |
commit | b217d616a15fcfb3caf2a72c1a071c6d3f182f8d (patch) | |
tree | 301422d7c0fba653dfb5e32c80fedc2cede627e3 /kernel/die_notifier.c | |
parent | fcc5a03ac42564e9e255c1134dda47442289e466 (diff) |
[IPV4/IPV6]: Fail registration if inet device construction fails
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>
Diffstat (limited to 'kernel/die_notifier.c')
0 files changed, 0 insertions, 0 deletions