[IPV6] address: Support NLM_F_EXCL when adding addresses
authorThomas Graf <tgraf@suug.ch>
Mon, 18 Sep 2006 07:13:46 +0000 (00:13 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Fri, 22 Sep 2006 22:19:02 +0000 (15:19 -0700)
commit7198f8cec12ccec6d6f2e18c08ecc8c66c8aaf93
treef75e2cd8b76ce7a73c0160245da11cd89e30f7a1
parent680a27a23af45307095ae432dd0bc859e1fbe219
[IPV6] address: Support NLM_F_EXCL when adding addresses

iproute2 doesn't provide the NLM_F_CREATE flag when adding addresses,
it is assumed to be implied. The existing code issues a check on
said flag when the modify operation fails (likely due to ENOENT)
before continueing to create it, this leads to a hard to predict
result, therefore the NLM_F_CREATE check is removed.

Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/addrconf.c