diff options
author | Pavel Emelyanov <xemul@openvz.org> | 2008-01-22 09:09:37 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 18:10:37 -0500 |
commit | b2fd5321dd160ef309dfb6cfc78ed8de4a830659 (patch) | |
tree | 48d56923c239a2f5174e82528ee2632e159d33a7 /include | |
parent | e4a2d5c2bccd5bd29de5ae4f14ff4448fac9cfc8 (diff) |
[NETNS][FRAGS]: Make the net.ipv4.ipfrag_timeout work in namespaces.
Move it to the netns_frags, adjust the usage and
make the appropriate ctl table writable.
Now fragment, that live in different namespaces can
live for different times.
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.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/net/inet_frag.h b/include/net/inet_frag.h index 6edce7b2ff13..f56e296e6227 100644 --- a/include/net/inet_frag.h +++ b/include/net/inet_frag.h | |||
@@ -4,6 +4,9 @@ | |||
4 | struct netns_frags { | 4 | struct netns_frags { |
5 | int nqueues; | 5 | int nqueues; |
6 | atomic_t mem; | 6 | atomic_t mem; |
7 | |||
8 | /* sysctls */ | ||
9 | int timeout; | ||
7 | }; | 10 | }; |
8 | 11 | ||
9 | struct inet_frag_queue { | 12 | struct inet_frag_queue { |
@@ -29,7 +32,6 @@ struct inet_frag_queue { | |||
29 | struct inet_frags_ctl { | 32 | struct inet_frags_ctl { |
30 | int high_thresh; | 33 | int high_thresh; |
31 | int low_thresh; | 34 | int low_thresh; |
32 | int timeout; | ||
33 | int secret_interval; | 35 | int secret_interval; |
34 | }; | 36 | }; |
35 | 37 | ||