• Mahesh Bandewar's avatar
    ipv6: do not send RTM_DELADDR for tentative addresses · f784ad3d
    Mahesh Bandewar authored
    RTM_NEWADDR notification is sent when IFA_F_TENTATIVE is cleared from
    the address. So if the address is added and deleted before DAD probes
    completes, the RTM_DELADDR will be sent for which there was no
    RTM_NEWADDR causing asymmetry in notification. However if the same
    logic is used while sending RTM_DELADDR notification, this asymmetry
    can be avoided.
    Signed-off-by: default avatarMahesh Bandewar <maheshb@google.com>
    CC: Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
    CC: Patrick McHardy <kaber@trash.net>
    CC: Hannes Frederic Sowa <hannes@stressinduktion.org>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    f784ad3d
addrconf.c 154 KB