[PATCH for 4.9 59/59] lkdtm: Fix Oops when unloading the module

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: Juerg Haefliger [ Upstream commit 9ba60573638e2006170ebcc5489fb1e068afbc8f ] No jprobe is registered when the module is loaded without specifying a crashpoint that uses a jprobe. At the moment, we unconditionally try to unregister the jprobe on module unload which

[PATCH for 4.9 59/59] lkdtm: Fix Oops when unloading the module

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: Juerg Haefliger [ Upstream commit 9ba60573638e2006170ebcc5489fb1e068afbc8f ] No jprobe is registered when the module is loaded without specifying a crashpoint that uses a jprobe. At the moment, we unconditionally try to unregister the jprobe on module unload which results in an Oops. Add