Re: [PATCH] Input: ps2-gpio - flush TX work when closing port
From: Sven Van Asbroeck
Date: Fri Feb 08 2019 - 11:21:54 EST
On Fri, Feb 8, 2019 at 10:51 AM Danilo Krummrich
> I agree with Dmitry
So do I, you guys are absolutely right.
As far as I can see, this patch fixes the user-after-free.
So, after Dmitry changes flush_work() to flush_delayed_work() :
Reviewed-by: Sven Van Asbroeck <TheSven73@xxxxxxxxx>