Skip to content

Commit 9e371b0

Browse files
ffmancerakuba-moo
authored andcommitted
ipv6: addrconf: reduce default temp_valid_lft to 2 days
This is a recommendation from RFC 8981 and it was intended to be changed by commit 969c546 ("ipv6: Implement draft-ietf-6man-rfc4941bis") but it only changed the sysctl documentation. Signed-off-by: Fernando Fernandez Mancera <[email protected]> Reviewed-by: Eric Dumazet <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
1 parent ad5dfde commit 9e371b0

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

include/net/addrconf.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88

99
#define MIN_VALID_LIFETIME (2*3600) /* 2 hours */
1010

11-
#define TEMP_VALID_LIFETIME (7*86400) /* 1 week */
11+
/* TEMP_VALID_LIFETIME default value as specified in RFC 8981 3.8 */
12+
#define TEMP_VALID_LIFETIME (2*86400) /* 2 days */
1213
#define TEMP_PREFERRED_LIFETIME (86400) /* 24 hours */
1314
#define REGEN_MIN_ADVANCE (2) /* 2 seconds */
1415
#define REGEN_MAX_RETRY (3)

0 commit comments

Comments
 (0)