path: root/src/cache.c
diff options
authorPablo Neira Ayuso <>2009-05-23 20:58:55 +0200
committerPablo Neira Ayuso <>2009-05-23 20:58:55 +0200
commit95c587ae01373ded13d696b155c7f277030a03d3 (patch)
tree072c8c7ebfe75096c979525c1c5ad8e68920ef75 /src/cache.c
parent6f5666a29cb7cbff08ce926ee1edb84a311ff6ee (diff)
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 <>
Diffstat (limited to 'src/cache.c')
1 files changed, 0 insertions, 1 deletions
diff --git a/src/cache.c b/src/cache.c
index 318b8ec..e4a024b 100644
--- a/src/cache.c
+++ b/src/cache.c
@@ -95,7 +95,6 @@ static int compare(const void *data1, const void *data2)
struct cache_feature *cache_feature[CACHE_MAX_FEATURE] = {
[TIMER_FEATURE] = &timer_feature,
- [WRITE_THROUGH_FEATURE] = &writethrough_feature,
struct cache *cache_create(const char *name,