From 1c6235dbba0a67bad1d5e57ada88f28e1270a5cb Mon Sep 17 00:00:00 2001 From: Emeric Brun Date: Wed, 16 Dec 2015 15:28:12 +0100 Subject: [PATCH] BUG/MEDIUM: peers: old stick table updates could be repushed. Because the stick table updates tree was not properly initialized to EB_ROOT_UNIQUE. --- src/stick_table.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/stick_table.c b/src/stick_table.c index 3328616bf..93fb10c0a 100644 --- a/src/stick_table.c +++ b/src/stick_table.c @@ -395,6 +395,7 @@ int stktable_init(struct stktable *t) if (t->size) { memset(&t->keys, 0, sizeof(t->keys)); memset(&t->exps, 0, sizeof(t->exps)); + t->updates = EB_ROOT_UNIQUE; t->pool = create_pool("sticktables", sizeof(struct stksess) + t->data_size + t->key_size, MEM_F_SHARED);