net/ipv6: propagate net.ipv6.conf.all.addr_gen_mode to devices
authorSabrina Dubroca <sd@queasysnail.net>
Mon, 9 Jul 2018 10:25:17 +0000 (12:25 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 12 Jul 2018 05:50:45 +0000 (22:50 -0700)
commitf24c5987dddd28b23443e7b21b55d47549207755
treeebd3a72e1e6ea27d245660ce987b42573cffe37a
parentbdd72f41333d9f61a22e4c4494e95782e9731fdb
net/ipv6: propagate net.ipv6.conf.all.addr_gen_mode to devices

This aligns the addr_gen_mode sysctl with the expected behavior of the
"all" variant.

Fixes: d35a00b8e33d ("net/ipv6: allow sysctl to change link-local address generation mode")
Suggested-by: David Ahern <dsahern@gmail.com>
Signed-off-by: Sabrina Dubroca <sd@queasysnail.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/addrconf.c