diff options
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/addrconf.h | 2 | ||||
-rw-r--r-- | include/net/if_inet6.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/include/net/addrconf.h b/include/net/addrconf.h index 582e4ae70753..cbc6bb0a6838 100644 --- a/include/net/addrconf.h +++ b/include/net/addrconf.h | |||
@@ -8,7 +8,7 @@ | |||
8 | 8 | ||
9 | #define TEMP_VALID_LIFETIME (7*86400) | 9 | #define TEMP_VALID_LIFETIME (7*86400) |
10 | #define TEMP_PREFERRED_LIFETIME (86400) | 10 | #define TEMP_PREFERRED_LIFETIME (86400) |
11 | #define REGEN_MAX_RETRY (5) | 11 | #define REGEN_MAX_RETRY (3) |
12 | #define MAX_DESYNC_FACTOR (600) | 12 | #define MAX_DESYNC_FACTOR (600) |
13 | 13 | ||
14 | #define ADDR_CHECK_FREQUENCY (120*HZ) | 14 | #define ADDR_CHECK_FREQUENCY (120*HZ) |
diff --git a/include/net/if_inet6.h b/include/net/if_inet6.h index 11cf373970a9..51a7031b4aa3 100644 --- a/include/net/if_inet6.h +++ b/include/net/if_inet6.h | |||
@@ -41,6 +41,7 @@ struct inet6_ifaddr { | |||
41 | struct in6_addr addr; | 41 | struct in6_addr addr; |
42 | __u32 prefix_len; | 42 | __u32 prefix_len; |
43 | 43 | ||
44 | /* In seconds, relative to tstamp. Expiry is at tstamp + HZ * lft. */ | ||
44 | __u32 valid_lft; | 45 | __u32 valid_lft; |
45 | __u32 prefered_lft; | 46 | __u32 prefered_lft; |
46 | atomic_t refcnt; | 47 | atomic_t refcnt; |