summaryrefslogtreecommitdiffstats
path: root/net/core
diff options
context:
space:
mode:
authorErik Kline <ek@google.com>2015-02-04 12:01:23 +0100
committerDavid S. Miller <davem@davemloft.net>2015-02-06 00:37:41 +0100
commitc58da4c659803ac12eca5275c8a7064222adb4c7 (patch)
tree2be9074469ec18c9b99ba52065fe0b69d2bf3789 /net/core
parentflowcache: Fix kernel panic in flow_cache_flush_task (diff)
downloadlinux-c58da4c659803ac12eca5275c8a7064222adb4c7.tar.xz
linux-c58da4c659803ac12eca5275c8a7064222adb4c7.zip
net: ipv6: allow explicitly choosing optimistic addresses
RFC 4429 ("Optimistic DAD") states that optimistic addresses should be treated as deprecated addresses. From section 2.1: Unless noted otherwise, components of the IPv6 protocol stack should treat addresses in the Optimistic state equivalently to those in the Deprecated state, indicating that the address is available for use but should not be used if another suitable address is available. Optimistic addresses are indeed avoided when other addresses are available (i.e. at source address selection time), but they have not heretofore been available for things like explicit bind() and sendmsg() with struct in6_pktinfo, etc. This change makes optimistic addresses treated more like deprecated addresses than tentative ones. Signed-off-by: Erik Kline <ek@google.com> Acked-by: Lorenzo Colitti <lorenzo@google.com> Acked-by: Hannes Frederic Sowa <hannes@stressinduktion.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core')
0 files changed, 0 insertions, 0 deletions