diff options
Diffstat (limited to 'sys/opencrypto')
-rw-r--r-- | sys/opencrypto/crypto.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/opencrypto/crypto.c b/sys/opencrypto/crypto.c index fd3fd85627f6..9bf28b7dd641 100644 --- a/sys/opencrypto/crypto.c +++ b/sys/opencrypto/crypto.c @@ -864,10 +864,10 @@ crypto_getreq(int num) struct cryptodesc *crd; struct cryptop *crp; - crp = uma_zalloc(cryptop_zone, 0); + crp = uma_zalloc(cryptop_zone, M_NOWAIT|M_ZERO); if (crp != NULL) { while (num--) { - crd = uma_zalloc(cryptodesc_zone, 0); + crd = uma_zalloc(cryptodesc_zone, M_NOWAIT|M_ZERO); if (crd == NULL) { crypto_freereq(crp); return NULL; |