Re: [PATCH] input: polldev can cause crash in case of polling disabled
From: Oleg Nesterov <oleg@redhat.com>
Date: 2010-02-19 12:16:14
From: Oleg Nesterov <oleg@redhat.com>
Date: 2010-02-19 12:16:14
On 02/17, Dmitry Torokhov wrote:
I understand. I think if we just change cancel to do the right thing that should be enough to avoid surprises.
OK. I'll send the patch but let me re-check this code first, I already forgot some details. Anyway, I think in the short term the patch from Samu (which changed input_close_polled_device to re-initialize dwork) is the best option for now. Oleg.