Jiri Bohac 9d6280da39 IPv6: Drop the temporary address regen_timer
The randomized interface identifier (rndid) was periodically updated from
the regen_timer timer. Simplify the code by updating the rndid only when
needed by ipv6_try_regen_rndid().

This makes the follow-up DESYNC_FACTOR fix much simpler.  Also it fixes a
reference counting error in this error path, where an in6_dev_put was
missing:
		err = addrconf_sysctl_register(ndev);
		if (err) {
			ipv6_mc_destroy_dev(ndev);
	-               del_timer(&ndev->regen_timer);
			snmp6_unregister_dev(ndev);
			goto err_release;

Signed-off-by: Jiri Bohac <jbohac@suse.cz>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-10-14 10:59:15 -04:00
..
2016-09-01 14:09:01 -07:00
2015-08-25 13:37:31 -07:00
2016-09-10 23:12:51 -07:00
2016-10-14 10:01:26 -04:00
2016-05-31 14:07:49 -07:00
2016-09-10 23:12:52 -07:00
2016-09-06 12:54:17 -07:00
2016-09-10 23:12:52 -07:00
2016-04-27 22:48:24 -04:00
2016-06-27 15:06:17 -04:00
2015-11-03 10:52:13 -05:00
2016-08-23 23:23:50 -07:00
2016-09-21 10:09:14 +02:00
2016-09-21 10:09:14 +02:00