]> git.baikalelectronics.ru Git - kernel.git/commit
ipv6: automatically enable stable privacy mode if stable_secret set
authorHannes Frederic Sowa <hannes@stressinduktion.org>
Tue, 15 Dec 2015 21:59:12 +0000 (22:59 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 Dec 2015 04:37:32 +0000 (23:37 -0500)
commit9bcb241ca6e568affc742a1163d4ff090f5fdf7d
tree4471e2dad2ea4527fd96709e9bae074251561c2b
parentf6f6912d9891ddb9435c4a0ac6e5438a9b3bf4f0
ipv6: automatically enable stable privacy mode if stable_secret set

Bjørn reported that while we switch all interfaces to privacy stable mode
when setting the secret, we don't set this mode for new interfaces. This
does not make sense, so change this behaviour.

Fixes: ea9c34648ecfc27 ("ipv6: generation of stable privacy addresses for link-local and autoconf")
Reported-by: Bjørn Mork <bjorn@mork.no>
Cc: Bjørn Mork <bjorn@mork.no>
Signed-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/addrconf.c