From 62870e38865cf782cec4282169f3e9609580693d Mon Sep 17 00:00:00 2001 From: Franco Fichtner Date: Sun, 8 May 2016 12:54:08 +0200 Subject: [PATCH] system: do not unload cryptodev, it causes a panic when in use --- src/etc/inc/pfsense-utils.inc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/etc/inc/pfsense-utils.inc b/src/etc/inc/pfsense-utils.inc index bf7b7bdba..eccb420ca 100644 --- a/src/etc/inc/pfsense-utils.inc +++ b/src/etc/inc/pfsense-utils.inc @@ -373,9 +373,8 @@ function load_crypto_module() } if (isset($config['system']['cryptodev_enable'])) { + log_error(gettext('Loading cryptodev kernel module.')); mwexecf('/sbin/kldload %s', 'cryptodev', true); - } else { - mwexecf('/sbin/kldunload %s', 'cryptodev', true); } }