diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2009-05-23 20:58:55 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2009-05-23 20:58:55 +0200 |
commit | 95c587ae01373ded13d696b155c7f277030a03d3 (patch) | |
tree | 072c8c7ebfe75096c979525c1c5ad8e68920ef75 /include | |
parent | 6f5666a29cb7cbff08ce926ee1edb84a311ff6ee (diff) | |
download | conntrack-tools-95c587ae01373ded13d696b155c7f277030a03d3.tar.gz conntrack-tools-95c587ae01373ded13d696b155c7f277030a03d3.zip |
conntrackd: remove the cache write-through policy
This patch removes the cache write-through clause. This feature
remained undocumented although some has found it looking at the
source code. This feature has remained in the tree for quite
some time although it has several limitations. Moreover, it
is specifically broken and dangerous for Linux kernels >= 2.6.29
since it generates loops in the synchronization.
We do this removal first to prepare the introduction of a feature
to bypass the external cache.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/cache.h | 4 | ||||
-rw-r--r-- | include/conntrackd.h | 1 |
2 files changed, 0 insertions, 5 deletions
diff --git a/include/cache.h b/include/cache.h index b6facdc..5df7aa9 100644 --- a/include/cache.h +++ b/include/cache.h @@ -12,9 +12,6 @@ enum { TIMER_FEATURE = 0, TIMER = (1 << TIMER_FEATURE), - WRITE_THROUGH_FEATURE = 1, - WRITE_THROUGH = (1 << WRITE_THROUGH_FEATURE), - __CACHE_MAX_FEATURE }; #define CACHE_MAX_FEATURE __CACHE_MAX_FEATURE @@ -48,7 +45,6 @@ struct cache_feature { extern struct cache_feature lifetime_feature; extern struct cache_feature timer_feature; -extern struct cache_feature writethrough_feature; #define CACHE_MAX_NAMELEN 32 diff --git a/include/conntrackd.h b/include/conntrackd.h index 81cfd51..5a9e385 100644 --- a/include/conntrackd.h +++ b/include/conntrackd.h @@ -91,7 +91,6 @@ struct ct_conf { unsigned int resend_queue_size; /* FTFW protocol */ unsigned int window_size; int poll_kernel_secs; - int cache_write_through; int filter_from_kernelspace; int event_iterations_limit; struct { |