• stephen hemminger's avatar
    IPv6: addrconf notify when address is unavailable · 84e8b803
    stephen hemminger authored
    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: default avatarStephen Hemminger <shemminger@vyatta.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    84e8b803
addrconf.c 111 KB