From: David Miller <davem@davemloft.net>
To: bjorn@mork.no
Cc: netdev@vger.kernel.org, hannes@stressinduktion.org,
hideaki.yoshifuji@miraclelinux.com
Subject: Re: [PATCH net-next] ipv6: addrconf: use stable address generator for ARPHRD_NONE
Date: Fri, 18 Dec 2015 14:41:22 -0500 (EST) [thread overview]
Message-ID: <20151218.144122.761248016851249147.davem@davemloft.net> (raw)
In-Reply-To: <1450280678-4730-1-git-send-email-bjorn@mork.no>
From: Bjørn Mork <bjorn@mork.no>
Date: Wed, 16 Dec 2015 16:44:38 +0100
> Add a new address generator mode, using the stable address generator
> with an automatically generated secret. This is intended as a default
> address generator mode for device types with no EUI64 implementation.
> The new generator is used for ARPHRD_NONE interfaces initially, adding
> default IPv6 autoconf support to e.g. tun interfaces.
>
> If the addrgenmode is set to 'random', either by default or manually,
> and no stable secret is available, then a random secret is used as
> input for the stable-privacy address generator. The secret can be
> read and modified like manually configured secrets, using the proc
> interface. Modifying the secret will change the addrgen mode to
> 'stable-privacy' to indicate that it operates on a known secret.
>
> Existing behaviour of the 'stable-privacy' mode is kept unchanged. If
> a known secret is available when the device is created, then the mode
> will default to 'stable-privacy' as before. The mode can be manually
> set to 'random' but it will behave exactly like 'stable-privacy' in
> this case. The secret will not change.
>
> Cc: Hannes Frederic Sowa <hannes@stressinduktion.org>
> Cc: 吉藤英明 <hideaki.yoshifuji@miraclelinux.com>
> Signed-off-by: Bjørn Mork <bjorn@mork.no>
Applied, thanks!
prev parent reply other threads:[~2015-12-18 19:41 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-16 15:44 [PATCH net-next] ipv6: addrconf: use stable address generator for ARPHRD_NONE Bjørn Mork
2015-12-17 20:11 ` David Miller
2015-12-17 22:04 ` Hannes Frederic Sowa
2015-12-18 19:41 ` David Miller [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=20151218.144122.761248016851249147.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=bjorn@mork.no \
--cc=hannes@stressinduktion.org \
--cc=hideaki.yoshifuji@miraclelinux.com \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
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;
as well as URLs for NNTP newsgroup(s).