aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPavel Emelyanov <xemul@openvz.org>2008-01-22 09:10:13 -0500
committerDavid S. Miller <davem@davemloft.net>2008-01-28 18:10:38 -0500
commite31e0bdc7e7fb9a4b09d2f3266c035a18fdcee9d (patch)
tree30e25f733781cf80aa9fef0d58ff3476424cb9b3 /include
parentb2fd5321dd160ef309dfb6cfc78ed8de4a830659 (diff)
[NETNS][FRAGS]: Make thresholds work in namespaces.
This is the same as with the timeout variable. Currently, after exceeding the high threshold _all_ the fragments are evicted, but it will be fixed in later patch. Signed-off-by: Pavel Emelyanov <xemul@openvz.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r--include/net/inet_frag.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net/inet_frag.h b/include/net/inet_frag.h
index f56e296e6227..de4135925490 100644
--- a/include/net/inet_frag.h
+++ b/include/net/inet_frag.h
@@ -7,6 +7,8 @@ struct netns_frags {
7 7
8 /* sysctls */ 8 /* sysctls */
9 int timeout; 9 int timeout;
10 int high_thresh;
11 int low_thresh;
10}; 12};
11 13
12struct inet_frag_queue { 14struct inet_frag_queue {
@@ -30,8 +32,6 @@ struct inet_frag_queue {
30#define INETFRAGS_HASHSZ 64 32#define INETFRAGS_HASHSZ 64
31 33
32struct inet_frags_ctl { 34struct inet_frags_ctl {
33 int high_thresh;
34 int low_thresh;
35 int secret_interval; 35 int secret_interval;
36}; 36};
37 37