aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/networking
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2014-07-24 10:50:35 -0400
committerDavid S. Miller <davem@davemloft.net>2014-07-28 01:34:36 -0400
commite3a57d18b06179d68fcf7a0a06ad844493c65e06 (patch)
tree8a7dcc0a88235136f76a3deb8818c439abb8a944 /Documentation/networking
parent3fd588eb90bfbba17091381006ecafe29c45db4a (diff)
inet: frag: remove periodic secret rebuild timer
merge functionality into the eviction workqueue. Instead of rebuilding every n seconds, take advantage of the upper hash chain length limit. If we hit it, mark table for rebuild and schedule workqueue. To prevent frequent rebuilds when we're completely overloaded, don't rebuild more than once every 5 seconds. ipfrag_secret_interval sysctl is now obsolete and has been marked as deprecated, it still can be changed so scripts won't be broken but it won't have any effect. A comment is left above each unused secret_timer variable to avoid confusion. Joint work with Nikolay Aleksandrov. Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: Nikolay Aleksandrov <nikolay@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/networking')
-rw-r--r--Documentation/networking/ip-sysctl.txt10
1 files changed, 0 insertions, 10 deletions
diff --git a/Documentation/networking/ip-sysctl.txt b/Documentation/networking/ip-sysctl.txt
index 625c8dda4be7..e8c304e37831 100644
--- a/Documentation/networking/ip-sysctl.txt
+++ b/Documentation/networking/ip-sysctl.txt
@@ -111,11 +111,6 @@ ipfrag_low_thresh - INTEGER
111ipfrag_time - INTEGER 111ipfrag_time - INTEGER
112 Time in seconds to keep an IP fragment in memory. 112 Time in seconds to keep an IP fragment in memory.
113 113
114ipfrag_secret_interval - INTEGER
115 Regeneration interval (in seconds) of the hash secret (or lifetime
116 for the hash secret) for IP fragments.
117 Default: 600
118
119ipfrag_max_dist - INTEGER 114ipfrag_max_dist - INTEGER
120 ipfrag_max_dist is a non-negative integer value which defines the 115 ipfrag_max_dist is a non-negative integer value which defines the
121 maximum "disorder" which is allowed among fragments which share a 116 maximum "disorder" which is allowed among fragments which share a
@@ -1164,11 +1159,6 @@ ip6frag_low_thresh - INTEGER
1164ip6frag_time - INTEGER 1159ip6frag_time - INTEGER
1165 Time in seconds to keep an IPv6 fragment in memory. 1160 Time in seconds to keep an IPv6 fragment in memory.
1166 1161
1167ip6frag_secret_interval - INTEGER
1168 Regeneration interval (in seconds) of the hash secret (or lifetime
1169 for the hash secret) for IPv6 fragments.
1170 Default: 600
1171
1172conf/default/*: 1162conf/default/*:
1173 Change the interface-specific default settings. 1163 Change the interface-specific default settings.
1174 1164