summaryrefslogtreecommitdiff
path: root/sound/sparc
diff options
context:
space:
mode:
authorPaolo Abeni <pabeni@redhat.com>2016-11-22 15:57:40 (GMT)
committerDavid S. Miller <davem@davemloft.net>2016-11-24 17:04:10 (GMT)
commit764d3be6e415b40056834bfd29b994dc3f837606 (patch)
tree44aa616d5783b8d0fa1f8d3c0bf04157fbe7da06 /sound/sparc
parentb6e01232e25629907df9db19f25da7d4e8f5b589 (diff)
downloadlinux-764d3be6e415b40056834bfd29b994dc3f837606.tar.xz
ipv6: bump genid when the IFA_F_TENTATIVE flag is clear
When an ipv6 address has the tentative flag set, it can't be used as source for egress traffic, while the associated route, if any, can be looked up and even stored into some dst_cache. In the latter scenario, the source ipv6 address selected and stored in the cache is most probably wrong (e.g. with link-local scope) and the entity using the dst_cache will experience lack of ipv6 connectivity until said cache is cleared or invalidated. Overall this may cause lack of connectivity over most IPv6 tunnels (comprising geneve and vxlan), if the first egress packet reaches the tunnel before the DaD is completed for the used ipv6 address. This patch bumps a new genid after that the IFA_F_TENTATIVE flag is cleared, so that dst_cache will be invalidated on next lookup and ipv6 connectivity restored. Fixes: 0c1d70af924b ("net: use dst_cache for vxlan device") Fixes: 468dfffcd762 ("geneve: add dst caching support") Acked-by: Hannes Frederic Sowa <hannes@stressinduktion.org> Signed-off-by: Paolo Abeni <pabeni@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'sound/sparc')
0 files changed, 0 insertions, 0 deletions