summaryrefslogtreecommitdiffstats
path: root/net/ipv6/sit.c
diff options
context:
space:
mode:
authorHannes Frederic Sowa <hannes@stressinduktion.org>2013-06-23 18:39:01 +0200
committerDavid S. Miller <davem@davemloft.net>2013-06-25 16:23:03 -0700
commitb7b1bfce0bb68bd8f6e62a28295922785cc63781 (patch)
tree212102b875b453496d86f8c448892bd90eb58c92 /net/ipv6/sit.c
parent51151a16a60f0a886a0b1e4a0697001198af50c4 (diff)
downloadlinux-stable-b7b1bfce0bb68bd8f6e62a28295922785cc63781.tar.gz
linux-stable-b7b1bfce0bb68bd8f6e62a28295922785cc63781.tar.bz2
linux-stable-b7b1bfce0bb68bd8f6e62a28295922785cc63781.zip
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>
Diffstat (limited to 'net/ipv6/sit.c')
0 files changed, 0 insertions, 0 deletions