summaryrefslogtreecommitdiffstats
path: root/sys/netipsec/key.c
diff options
context:
space:
mode:
authorLuiz Otavio O Souza <luiz@netgate.com>2015-09-15 15:07:44 -0500
committerLuiz Otavio O Souza <luiz@netgate.com>2015-10-20 11:59:52 -0500
commitd86ce4afc343578198dbe5806590d5b4b009691e (patch)
tree7cb608644c1f7e7c2505aedc82105240c4221dd2 /sys/netipsec/key.c
parentde3ed2f685c2be70153a6b2a23ac5aa50db716a7 (diff)
downloadFreeBSD-src-d86ce4afc343578198dbe5806590d5b4b009691e.zip
FreeBSD-src-d86ce4afc343578198dbe5806590d5b4b009691e.tar.gz
MFC r276199:
Fix VIMAGE build. TAG: IPSEC-HEAD Issue: #4841
Diffstat (limited to 'sys/netipsec/key.c')
-rw-r--r--sys/netipsec/key.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netipsec/key.c b/sys/netipsec/key.c
index 77f6448..010c539 100644
--- a/sys/netipsec/key.c
+++ b/sys/netipsec/key.c
@@ -7653,7 +7653,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);
OpenPOWER on IntegriCloud