remove _NORMAL flag which isn't suppose to be used w/ _alloc_ctx...
Reviewed by: kib (a while ago)
This commit is contained in:
parent
29181895d5
commit
384ca830a8
@ -206,8 +206,7 @@ aesni_newsession(device_t dev, uint32_t *sidp, struct cryptoini *cri)
|
||||
rw_wunlock(&sc->lock);
|
||||
return (ENOMEM);
|
||||
}
|
||||
ses->fpu_ctx = fpu_kern_alloc_ctx(FPU_KERN_NORMAL |
|
||||
FPU_KERN_NOWAIT);
|
||||
ses->fpu_ctx = fpu_kern_alloc_ctx(FPU_KERN_NOWAIT);
|
||||
if (ses->fpu_ctx == NULL) {
|
||||
free(ses, M_AESNI);
|
||||
rw_wunlock(&sc->lock);
|
||||
|
Loading…
Reference in New Issue
Block a user