Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
2ca801b2
Commit
2ca801b2
authored
Jun 27, 2003
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[NET]: Scale DST/ipv6 intervals like we did for ipv4.
parent
f727aff5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
include/net/dst.h
include/net/dst.h
+2
-2
net/ipv6/route.c
net/ipv6/route.c
+1
-1
No files found.
include/net/dst.h
View file @
2ca801b2
...
...
@@ -22,8 +22,8 @@
*/
#define RT_CACHE_DEBUG 0
#define DST_GC_MIN (
1*HZ
)
#define DST_GC_INC (
5*HZ
)
#define DST_GC_MIN (
HZ/10
)
#define DST_GC_INC (
HZ/2
)
#define DST_GC_MAX (120*HZ)
/* Each dst_entry has reference count and sits in some parent list(s).
...
...
net/ipv6/route.c
View file @
2ca801b2
...
...
@@ -72,7 +72,7 @@
static
int
ip6_rt_max_size
=
4096
;
static
int
ip6_rt_gc_min_interval
=
5
*
HZ
;
static
int
ip6_rt_gc_min_interval
=
HZ
/
2
;
static
int
ip6_rt_gc_timeout
=
60
*
HZ
;
int
ip6_rt_gc_interval
=
30
*
HZ
;
static
int
ip6_rt_gc_elasticity
=
9
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment