ipv6: Replace inet6_ifaddr->dead with state
authorHerbert Xu <herbert@gondor.apana.org.au>
Tue, 18 May 2010 22:36:06 +0000 (15:36 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 18 May 2010 22:36:06 +0000 (15:36 -0700)
commite9d3e084975869754d16f639378675c353560be9
tree3f933fea12746b24247ccec79cb4a1fbdf50833b
parente29f5dbc9e9719af158a960e5c1d16f32740ebc3
ipv6: Replace inet6_ifaddr->dead with state

This patch replaces the boolean dead flag on inet6_ifaddr with
a state enum.  This allows us to roll back changes when deleting
an address according to whether DAD has completed or not.

This patch only adds the state field and does not change the logic.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/if_inet6.h
net/ipv6/addrconf.c