commit | bd11f0741fa5a2c296629898ad07759dd12b35bb | [log] [tgz] |
---|---|---|
author | Maciej Żenczykowski <[email protected]> | Tue Sep 27 23:57:58 2016 -0700 |
committer | David S. Miller <[email protected]> | Fri Sep 30 01:54:28 2016 -0400 |
tree | e25b67382a3798f6274bc4e85c06a1133deb56a2 | |
parent | bcdc6efabda3ba6a67f4cb8915873e7d6759b7e6 [diff] [blame] |
ipv6 addrconf: implement RFC7559 router solicitation backoff This implements: https://tools.ietf.org/html/rfc7559 Backoff is performed according to RFC3315 section 14: https://tools.ietf.org/html/rfc3315#section-14 We allow setting /proc/sys/net/ipv6/conf/*/router_solicitations to a negative value meaning an unlimited number of retransmits, and we make this the new default (inline with the RFC). We also add a new setting: /proc/sys/net/ipv6/conf/*/router_solicitation_max_interval defaulting to 1 hour (per RFC recommendation). Signed-off-by: Maciej Żenczykowski <[email protected]> Acked-by: Erik Kline <[email protected]> Signed-off-by: David S. Miller <[email protected]>
diff --git a/include/linux/ipv6.h b/include/linux/ipv6.h index c6dbcd8..7e9a789 100644 --- a/include/linux/ipv6.h +++ b/include/linux/ipv6.h
@@ -18,6 +18,7 @@ __s32 dad_transmits; __s32 rtr_solicits; __s32 rtr_solicit_interval; + __s32 rtr_solicit_max_interval; __s32 rtr_solicit_delay; __s32 force_mld_version; __s32 mldv1_unsolicited_report_interval;