diff options
Diffstat (limited to 'module/icp')
-rw-r--r-- | module/icp/core/kcf_sched.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/module/icp/core/kcf_sched.c b/module/icp/core/kcf_sched.c index 7046495f4..3b4cce4b5 100644 --- a/module/icp/core/kcf_sched.c +++ b/module/icp/core/kcf_sched.c @@ -1740,8 +1740,10 @@ kcf_last_req(void *last_req_arg, int status) ct = (crypto_dual_data_t *)dcrops->dop_ciphertext; break; } - default: - break; + default: { + panic("invalid kcf_op_group_t %d", (int)params->rp_opgrp); + return; + } } ct->dd_offset1 = last_req->kr_saveoffset; ct->dd_len1 = last_req->kr_savelen; |