commit | cec5913c1515e5619907016658838af4eff78dd3 | [log] [tgz] |
---|---|---|
author | Liping Zhang <liping.zhang@spreadtrum.com> | Thu Apr 21 00:47:08 2016 -0700 |
committer | Pablo Neira Ayuso <pablo@netfilter.org> | Fri Apr 29 14:28:48 2016 +0200 |
tree | 2234e8be967f350c2d39fd7c7b154ef4973e5442 | |
parent | 70d72b7e060e0a16b9ded9d0fbd3dff109743de3 [diff] |
netfilter: IDLETIMER: fix race condition when destroy the target Workqueue maybe still in running while we destroy the IDLETIMER target, thus cause a use after free error, add cancel_work_sync() to avoid such situation. Signed-off-by: Liping Zhang <liping.zhang@spreadtrum.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>