commit | 70c30d76e580fe4aefe6facdf0f1edb1aa9a0e7a | [log] [tgz] |
---|---|---|
author | Sabrina Dubroca <sd@queasysnail.net> | Mon Jul 09 12:25:15 2018 +0200 |
committer | David S. Miller <davem@davemloft.net> | Wed Jul 11 22:50:45 2018 -0700 |
tree | 91b98717ded85e0ebcaeaea386eb4e32406bb670 | |
parent | c6dbf7aaa48289d2eeacbef06785c069869ed0c0 [diff] |
net/ipv6: don't reinitialize ndev->cnf.addr_gen_mode on new inet6_dev The value has already been copied from this netns's devconf_dflt, it shouldn't be reset to the global kernel default. Fixes: d35a00b8e33d ("net/ipv6: allow sysctl to change link-local address generation mode") Signed-off-by: Sabrina Dubroca <sd@queasysnail.net> Reviewed-by: David Ahern <dsahern@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>