]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ipv6: keep existing flags when setting IFA_F_OPTIMISTIC
authorBjørn Mork <bjorn@mork.no>
Fri, 4 Dec 2015 13:15:08 +0000 (14:15 +0100)
committerChuck Anderson <chuck.anderson@oracle.com>
Fri, 5 Feb 2016 03:33:24 +0000 (19:33 -0800)
commit3c4d1197af32de4888a1d5d94942662f718a38f4
treee7ec53b32ed683b74be0be1b4e6693f4eec8b064
parent873eda02d49a258c54b6eba5c2ae76023b780891
ipv6: keep existing flags when setting IFA_F_OPTIMISTIC

Orabug: 22623877

[ Upstream commit 9a1ec4612c9bfc94d4185e3459055a37a685e575 ]

Commit 64236f3f3d74 ("ipv6: introduce IFA_F_STABLE_PRIVACY flag")
failed to update the setting of the IFA_F_OPTIMISTIC flag, causing
the IFA_F_STABLE_PRIVACY flag to be lost if IFA_F_OPTIMISTIC is set.

Cc: Erik Kline <ek@google.com>
Cc: Fernando Gont <fgont@si6networks.com>
Cc: Lorenzo Colitti <lorenzo@google.com>
Cc: YOSHIFUJI Hideaki/吉藤英明 <hideaki.yoshifuji@miraclelinux.com>
Cc: Hannes Frederic Sowa <hannes@stressinduktion.org>
Fixes: 64236f3f3d74 ("ipv6: introduce IFA_F_STABLE_PRIVACY flag")
Signed-off-by: Bjørn Mork <bjorn@mork.no>
Acked-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit a7a97780df2c5d34f0ab7a9a748708dc5e98a087)
Signed-off-by: Dan Duval <dan.duval@oracle.com>
net/ipv6/addrconf.c