commit | 9ee8502bd2cc83b5c11e2f255ad233ed823d9909 | [log] [tgz] |
---|---|---|
author | Kees Cook <keescook@chromium.org> | Mon Mar 06 12:42:12 2017 -0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sat May 20 14:28:42 2017 +0200 |
tree | 0dce18bfd153b5e2973c9dcbccd1d2c48a741e57 | |
parent | a4de9300862540cc9bb8ef9b665405bed79c28e7 [diff] |
pstore: Shut down worker when unregistering commit 6330d5534786d5315d56d558aa6d20740f97d80a upstream. When built as a module and running with update_ms >= 0, pstore will Oops during module unload since the work timer is still running. This makes sure the worker is stopped before unloading. Signed-off-by: Kees Cook <keescook@chromium.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>