• S
    IPv6: addrconf notify when address is unavailable · 84e8b803
    stephen hemminger 提交于
    My recent change in net-next to retain permanent addresses caused regression.
    Device refcount would not go to zero when device was unregistered because
    left over anycast reference would hold ipv6 dev reference which would hold
    device references...
    
    The correct procedure is to call notify chain when address is no longer
    available for use.  When interface comes back DAD timer will notify
    back that address is available.
    
    Also, link local addresses should be purged when interface is brought
    down. The address might be changed.
    Signed-off-by: NStephen Hemminger <shemminger@vyatta.com>
    Signed-off-by: NDavid S. Miller <davem@davemloft.net>
    84e8b803
addrconf.c 111.0 KB