]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit9b29c6962b70f232cde4076b1020191e1be0889d
tree4471e2dad2ea4527fd96709e9bae074251561c2b
parent130ed5d105dde141e7fe60d5440aa53e0a84f13b
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: 622c81d57b392cc ("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