Re: [PATCH v3 net-next 1/2] net/ipv6: allow sysctl to change link-local address generation mode

2017-01-19 Thread Stephen Hemminger
On Fri, 20 Jan 2017 11:46:19 +1300 Felix Jia wrote: > diff --git a/include/net/if_inet6.h b/include/net/if_inet6.h > index 0fa4c324b713..48e2a34a6ed3 100644 > --- a/include/net/if_inet6.h > +++ b/include/net/if_inet6.h > @@ -1,9 +1,9 @@ > /* > * inet6 interface/address list definitions > - *

[PATCH v3 net-next 1/2] net/ipv6: allow sysctl to change link-local address generation mode

2017-01-19 Thread Felix Jia
The address generation mode for IPv6 link-local can only be configured by netlink messages. This patch adds the ability to change the address generation mode via sysctl. v1 -> v2 Removed the rtnl lock and switch to use RCU lock to iterate through the netdev list. v2 -> v3 Removed the addrgenmode