diff options
| author | Jiri Pirko <[email protected]> | 2008-11-11 14:43:21 +0000 |
|---|---|---|
| committer | Dmitry Torokhov <[email protected]> | 2008-11-11 16:31:59 +0000 |
| commit | d6d79a785d430c0e17f7e2d662f10de022cbca93 (patch) | |
| tree | 5d31c85df3b3d8483a832d8d0926f8f6484f66ea /net/unix/af_unix.c | |
| parent | Input: atkbd - add keymap quirk for Inventec Symphony systems (diff) | |
| download | kernel-d6d79a785d430c0e17f7e2d662f10de022cbca93.tar.gz kernel-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 <[email protected]>
Signed-off-by: Dmitry Torokhov <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
