Commit 9ba2add3 authored by Committed by David S. Miller
ipv6: Make 'addrconf_rs_timer' send Router Solicitations (and re-arm itself)...
ipv6: Make 'addrconf_rs_timer' send Router Solicitations (and re-arm itself) if Router Advertisements are accepted As of 026359bc [ipv6: Send ICMPv6 RSes only when RAs are accepted], Router Solicitations are sent whenever kernel accepts Router Advertisements on the interface. However, this logic isn't reflected in 'addrconf_rs_timer'. The timer fails to issue subsequent RS messages (and fails to re-arm itself) if forwarding is enabled and the special hybrid mode is enabled (accept_ra=2). Fix the condition determining whether next RS should be sent, by using 'ipv6_accept_ra()'. Reported-by: Ami Koren <firstname.lastname@example.org> Signed-off-by: Shmulik Ladkani <email@example.com> Signed-off-by: David S. Miller <firstname.lastname@example.org>
Showing with 1 addition and 1 deletion