diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2007-03-27 14:31:52 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2007-03-27 14:31:52 -0700 |
commit | 53aadcc90931dfa150f76ce9a5f9e8f3e43d57df (patch) | |
tree | fe2029e1a5bc03250b365bfe544940957ffefc8a /include/asm-um/bitops.h | |
parent | c38c83cb705a41e30a99545ae2314c00e3b9bf1c (diff) |
[IPV6]: Set IF_READY if the device is up and has carrier
We still need to set the IF_READY flag in ipv6_add_dev for the case
where all addresses (including the link-local) are deleted and then
recreated. In that case the IPv6 device too will be destroyed and
then recreated.
In order to prevent the original problem, we simply ensure that
the device is up before setting IF_READY.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/asm-um/bitops.h')
0 files changed, 0 insertions, 0 deletions