Hannes Frederic Sowa b7b1bfce0b ipv6: split duplicate address detection and router solicitation timer
This patch splits the timers for duplicate address detection and router
solicitations apart. The router solicitations timer goes into inet6_dev
and the dad timer stays in inet6_ifaddr.

The reason behind this patch is to reduce the number of unneeded router
solicitations send out by the host if additional link-local addresses
are created. Currently we send out RS for every link-local address on
an interface.

If the RS timer fires we pick a source address with ipv6_get_lladdr. This
change could hurt people adding additional link-local addresses and
specifying these addresses in the radvd clients section because we
no longer guarantee that we use every ll address as source address in
router solicitations.

Cc: Flavio Leitner <fleitner@redhat.com>
Cc: Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
Cc: David Stevens <dlstevens@us.ibm.com>
Signed-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
Reviewed-by: Flavio Leitner <fbl@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-06-25 16:23:03 -07:00
..
2013-02-15 15:10:37 -05:00
2012-11-03 14:59:05 -04:00
2013-05-27 22:50:59 -07:00
2013-03-26 12:27:18 -04:00
2013-03-26 12:27:19 -04:00
2013-05-31 16:26:49 -07:00
2013-03-17 14:35:13 -04:00
2013-05-11 16:26:38 -07:00
2013-06-10 21:22:36 -07:00
2013-05-11 16:26:38 -07:00
2012-11-01 12:41:35 -04:00