diff options
author | Sidong Yang <realwakka@gmail.com> | 2019-04-02 12:14:31 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-04-02 19:58:04 +0200 |
commit | a35342d0f8b348fad38e6250f9b646b99aa210c7 (patch) | |
tree | 6f5161d646722d99e725a34e1519ea4f2608c05c /drivers/staging/media | |
parent | e7c3d05459673d21f62a3fd82fa3a1ee6ef8de55 (diff) |
staging: pi433: Return thread immediately when kthread_should_stop() call.
When kthread_stop() called by removing module, running thread should
return immediately. Otherwise, It is very dangerous that thread may access
any released data like struct pi433_device.
Signed-off-by: Sidong Yang <realwakka@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/media')
0 files changed, 0 insertions, 0 deletions