everything else in crypto is protected at IPL_VM (via splvm), i cant see a reason for the taskq to be different. ive read all the users of the crypto api and theyre all at or below IPL_VM.
can someone test this with ipsec or softraid crypto? cheers, dlg Index: crypto.c =================================================================== RCS file: /cvs/src/sys/crypto/crypto.c,v retrieving revision 1.67 diff -u -p -r1.67 crypto.c --- crypto.c 14 Sep 2014 14:17:23 -0000 1.67 +++ crypto.c 17 Oct 2014 04:14:17 -0000 @@ -511,7 +511,7 @@ crypto_getreq(int num) void crypto_init(void) { - crypto_taskq = taskq_create("crypto", 1, IPL_HIGH); + crypto_taskq = taskq_create("crypto", 1, IPL_VM); pool_init(&cryptop_pool, sizeof(struct cryptop), 0, 0, 0, "cryptop", NULL);