Re: [PATCH net] ipv6: dad: don't remove dynamic addresses if link is down

2017-07-03 Thread David Miller
From: Sabrina Dubroca Date: Thu, 29 Jun 2017 16:56:54 +0200 > Currently, when the link for $DEV is down, this command succeeds but the > address is removed immediately by DAD (1): > > ip addr add ::12/64 dev $DEV valid_lft 3600 preferred_lft 1800 > > In the same situation, this will suc

[PATCH net] ipv6: dad: don't remove dynamic addresses if link is down

2017-06-29 Thread Sabrina Dubroca
Currently, when the link for $DEV is down, this command succeeds but the address is removed immediately by DAD (1): ip addr add ::12/64 dev $DEV valid_lft 3600 preferred_lft 1800 In the same situation, this will succeed and not remove the address (2): ip addr add ::12/64 dev $DEV