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 /include/linux/ipv6.h | |
parent | fcc5a03ac42564e9e255c1134dda47442289e466 (diff) | |
download | linux-b217d616a15fcfb3caf2a72c1a071c6d3f182f8d.tar.gz linux-b217d616a15fcfb3caf2a72c1a071c6d3f182f8d.tar.bz2 linux-b217d616a15fcfb3caf2a72c1a071c6d3f182f8d.zip |
[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 'include/linux/ipv6.h')
0 files changed, 0 insertions, 0 deletions