Skip to content
Snippets Groups Projects
Commit abc27bae authored by Erik Kline's avatar Erik Kline Committed by Christian Bejram
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: 24150139
Change-Id: I9de0d6c92ac45e29d28e318ac626c71806666f13
Signed-off-by: default avatarErik Kline <ek@google.com>
Signed-off-by: default avatarLorenzo Colitti <lorenzo@google.com>
parent 40c96c2a
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment