diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2016-04-17 03:12:09 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2016-04-17 03:12:09 +0000 |
commit | 02dff73f36c8829a20d0cc5a900ef5b6e04af5c4 (patch) | |
tree | 42c9109d588a4e919386a7b1c35f25df2def4d64 | |
parent | 3805a90c0d0c91c2a8ec5a1331ae5a9766cdafb3 (diff) |
pool_setipl for the aesnipl
it's set to IPL_VM to be conservative wrt its interaction with the crypto
subsystem.
-rw-r--r-- | sys/arch/amd64/amd64/aesni.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/amd64/amd64/aesni.c b/sys/arch/amd64/amd64/aesni.c index 5693f28ee1f..56e0847ff6e 100644 --- a/sys/arch/amd64/amd64/aesni.c +++ b/sys/arch/amd64/amd64/aesni.c @@ -1,4 +1,4 @@ -/* $OpenBSD: aesni.c,v 1.36 2015/11/07 01:37:26 naddy Exp $ */ +/* $OpenBSD: aesni.c,v 1.37 2016/04/17 03:12:08 dlg Exp $ */ /*- * Copyright (c) 2003 Jason Wright * Copyright (c) 2003, 2004 Theo de Raadt @@ -170,6 +170,7 @@ aesni_setup(void) pool_init(&aesnipl, sizeof(struct aesni_session), 16, 0, 0, "aesni", NULL); + pool_setipl(&aesnipl, IPL_VM); pool_setlowat(&aesnipl, 2); crypto_register(aesni_sc->sc_cid, algs, aesni_newsession, |