summaryrefslogtreecommitdiff
path: root/kernel/kmod.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/kmod.c')
-rw-r--r--kernel/kmod.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/kmod.c b/kernel/kmod.c
index 0277d1216f80..2ac3bdeaf0ca 100644
--- a/kernel/kmod.c
+++ b/kernel/kmod.c
@@ -218,6 +218,8 @@ static int call_usermodehelper_exec_async(void *data)
struct cred *new;
int retval;
+ set_freezable();
+
spin_lock_irq(&current->sighand->siglock);
flush_signal_handlers(current, 1);
spin_unlock_irq(&current->sighand->siglock);