[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>
This commit is contained in:
committed by
David S. Miller
parent
b2fd5321dd
commit
e31e0bdc7e
@@ -7,6 +7,8 @@ struct netns_frags {
|
||||
|
||||
/* sysctls */
|
||||
int timeout;
|
||||
int high_thresh;
|
||||
int low_thresh;
|
||||
};
|
||||
|
||||
struct inet_frag_queue {
|
||||
@@ -30,8 +32,6 @@ struct inet_frag_queue {
|
||||
#define INETFRAGS_HASHSZ 64
|
||||
|
||||
struct inet_frags_ctl {
|
||||
int high_thresh;
|
||||
int low_thresh;
|
||||
int secret_interval;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user