diff options
author | Mahesh Bandewar <maheshb@google.com> | 2017-01-04 15:01:01 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-01-06 15:39:31 -0500 |
commit | f784ad3d79e5be062b19dc36c53413daffeecc5c (patch) | |
tree | cc84803c7afa37b3620cfccf7fe9b5593751f0ab /drivers/net/ethernet/cavium/liquidio/lio_ethtool.c | |
parent | liquidio VF: fix incorrect struct being used (diff) | |
download | linux-dev-f784ad3d79e5be062b19dc36c53413daffeecc5c.tar.xz linux-dev-f784ad3d79e5be062b19dc36c53413daffeecc5c.zip |
ipv6: do not send RTM_DELADDR for tentative addresses
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: Mahesh 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: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/cavium/liquidio/lio_ethtool.c')
0 files changed, 0 insertions, 0 deletions