]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] uniput - fix crash on SMP
authorDmitry Torokhov <dtor_core@ameritech.net>
Mon, 17 Oct 2005 23:43:32 +0000 (16:43 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 18 Oct 2005 00:03:57 +0000 (17:03 -0700)
commitc016c9a2f4380f3882661837fe7bd67a11fb812d
treec2e89b585e9153677d626bb7dfe7ef12426016a0
parent91a99015b1afb88613ddeb5fcf9f5b66ce641999
[PATCH] uniput - fix crash on SMP

Only signal completion after marking request slot as free, otherwise other
processor can free request structure before we finish using it.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/input/misc/uinput.c