diff options
author | Maciej Żenczykowski <maze@google.com> | 2016-09-27 23:57:58 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-09-30 01:54:28 -0400 |
commit | bd11f0741fa5a2c296629898ad07759dd12b35bb (patch) | |
tree | e25b67382a3798f6274bc4e85c06a1133deb56a2 /lib/genalloc.c | |
parent | bcdc6efabda3ba6a67f4cb8915873e7d6759b7e6 (diff) |
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 <maze@google.com>
Acked-by: Erik Kline <ek@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/genalloc.c')
0 files changed, 0 insertions, 0 deletions