diff options
author | Juerg Haefliger <[email protected]> | 2017-01-19 11:40:13 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2017-01-25 11:41:44 +0100 |
commit | 9ba60573638e2006170ebcc5489fb1e068afbc8f (patch) | |
tree | 10eb014ff9804ecfccc1ea8974cb2fda6a3415d7 /lib/dynamic_debug.c | |
parent | 8ade6039b8404a28a7f76eac37a92c464b69499a (diff) |
lkdtm: Fix Oops when unloading the module
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 a
check to fix this.
Signed-off-by: Juerg Haefliger <[email protected]>
Acked-by: Kees Cook <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions