ipv6: Use state_lock to protect ifa state
authorHerbert Xu <herbert@gondor.apana.org.au>
Tue, 18 May 2010 22:54:18 +0000 (15:54 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 18 May 2010 22:54:18 +0000 (15:54 -0700)
This patch makes use of the new state_lock to synchronise between
updates to the ifa state.  This fixes the issue where a remotely
triggered address deletion (through DAD failure) coincides with a
local administrative address deletion, causing certain actions to
be performed twice incorrectly.

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

No differences found