diff options
author | Jiri Pirko <jpirko@redhat.com> | 2008-11-11 09:43:21 -0500 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2008-11-11 11:31:59 -0500 |
commit | d6d79a785d430c0e17f7e2d662f10de022cbca93 (patch) | |
tree | 5d31c85df3b3d8483a832d8d0926f8f6484f66ea /Documentation/x86 | |
parent | a8215b81cc31cf267506bc6a4a4bfe93f4ca1652 (diff) | |
download | linux-d6d79a785d430c0e17f7e2d662f10de022cbca93.tar.gz linux-d6d79a785d430c0e17f7e2d662f10de022cbca93.tar.bz2 linux-d6d79a785d430c0e17f7e2d662f10de022cbca93.zip |
Input: atkbd - cancel delayed work before freeing its structure
Pointed out by Oleg Nesterov. Since delayed work is used here, use of
flush_scheduled_work() is not sufficient in atkbd_disconnect(). It does
not wait for scheduled delayed work to finish. This patch prevents
delayed work to be processed after freeing atkbd structure (used struct
delayed_work is part of atkbd) by cancelling this delayed work.
Signed-off-by: Jiri Pirko <jpirko@redhat.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'Documentation/x86')
0 files changed, 0 insertions, 0 deletions