From: Nicolas Dichtel <nicolas.dichtel@6wind•com>
To: Erik Kline <ek@google•com>, netdev@vger•kernel.org
Cc: ben@decadent•org.uk, lorenzo@google•com, hannes@stressinduktion•org
Subject: Re: [RFC PATCH v3 net-next] net: ipv6: Add a sysctl to make optimistic addresses useful candidates
Date: Thu, 23 Oct 2014 17:12:50 +0200 [thread overview]
Message-ID: <54491AF2.3070400@6wind.com> (raw)
In-Reply-To: <1414058399-19695-1-git-send-email-ek@google.com>
Le 23/10/2014 11:59, Erik Kline a écrit :
> Add a sysctl that causes an interface's optimistic addresses
> to be considered equivalent to other non-deprecated addresses
> for source address selection purposes. Preferred addresses
> will still take precedence over optimistic addresses, subject
> to other ranking in the source address selection algorithm.
>
> This is useful where different interfaces are connected to
> different networks from different ISPs (e.g., a cell network
> and a home wifi network).
>
> The current behaviour complies with RFC 3484/6724, and it
> makes sense if the host has only one interface, or has
> multiple interfaces on the same network (same or cooperating
> administrative domain(s), but not in the multiple distinct
> networks case.
>
> For example, if a mobile device has an IPv6 address on an LTE
> network and then connects to IPv6-enabled wifi, while the wifi
> IPv6 address is undergoing DAD, IPv6 connections will try use
> the wifi default route with the LTE IPv6 address, and will get
> stuck until they time out.
>
> Also, because optimistic nodes can receive frames, issue
> an RTM_NEWADDR as soon as DAD starts. If DAD fails, a separate
> RTM_DELADDR is always sent.
>
> Also: add an entry in ip-sysctl.txt for optimistic_dad.
>
> Signed-off-by: Erik Kline <ek@google•com>
I agree with the principle of the patch. This option is useful.
Thank you,
Nicolas
prev parent reply other threads:[~2014-10-23 15:12 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-23 9:59 [RFC PATCH v3 net-next] net: ipv6: Add a sysctl to make optimistic addresses useful candidates Erik Kline
2014-10-23 15:12 ` Nicolas Dichtel [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=54491AF2.3070400@6wind.com \
--to=nicolas.dichtel@6wind$(echo .)com \
--cc=ben@decadent$(echo .)org.uk \
--cc=ek@google$(echo .)com \
--cc=hannes@stressinduktion$(echo .)org \
--cc=lorenzo@google$(echo .)com \
--cc=netdev@vger$(echo .)kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox