Fix VIMAGE build.

This commit is contained in:
Andrey V. Elsukov 2014-12-25 13:38:51 +00:00
parent be483be81d
commit fe07a9d08f

View File

@ -7608,7 +7608,7 @@ key_destroy(void)
TAILQ_INIT(&drainq);
SPTREE_WLOCK();
for (i = 0; i < IPSEC_DIR_MAX; i++) {
TAILQ_CONCAT(&drainq, &V_sptree[dir], chain);
TAILQ_CONCAT(&drainq, &V_sptree[i], chain);
}
SPTREE_WUNLOCK();
sp = TAILQ_FIRST(&drainq);