Skip to content
Snippets Groups Projects
Commit 1e46eaf4 authored by Erik Kline's avatar Erik Kline Committed by Lorenzo Colitti
Browse files

net: ipv6: allow choosing optimistic addresses with use_optimistic


The use_optimistic sysctl makes optimistic IPv6 addresses
equivalent to preferred addresses for source address selection
(e.g., when calling connect()), but it does not allow an
application to bind to optimistic addresses. This behaviour is
inconsistent - for example, it doesn't make sense for bind() to
an optimistic address fail with EADDRNOTAVAIL, but connect() to
choose that address outgoing address on the same socket.

Bug: 17769720
Bug: 18609055
Change-Id: I9de0d6c92ac45e29d28e318ac626c71806666f13
Signed-off-by: default avatarErik Kline <ek@google.com>
Signed-off-by: default avatarLorenzo Colitti <lorenzo@google.com>
parent 0b778076
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment