aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMateusz Guzik <mjg@FreeBSD.org>2020-02-12 20:18:29 +0000
committerMateusz Guzik <mjg@FreeBSD.org>2020-02-12 20:18:29 +0000
commit9fd552ada109eb579e5829001a95cb11f46fd487 (patch)
treee1c2295e520940a8d9b6e029bafaaae77e742d45 /sys
parent469635f600190be2bd0f95776196cb33d01c71bd (diff)
downloadsrc-9fd552ada109eb579e5829001a95cb11f46fd487.tar.gz
src-9fd552ada109eb579e5829001a95cb11f46fd487.zip
netipsec: fix a mismatched uma_zfree -> uma_zfree_pcpu
PR: 244077 Reported by: lwhsu Fixes: r357805 ("amd64: store per-cpu allocations subtracted by __pcpu")
Notes
Notes: svn path=/head/; revision=357842
Diffstat (limited to 'sys')
-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 5d03036bb17e..0be84fb93b2a 100644
--- a/sys/netipsec/key.c
+++ b/sys/netipsec/key.c
@@ -3128,7 +3128,7 @@ key_delsav(struct secasvar *sav)
if ((sav->flags & SADB_X_EXT_F_CLONED) == 0) {
mtx_destroy(sav->lock);
free(sav->lock, M_IPSEC_MISC);
- uma_zfree(V_key_lft_zone, sav->lft_c);
+ uma_zfree_pcpu(V_key_lft_zone, sav->lft_c);
}
free(sav, M_IPSEC_SA);
}