Patch "HID: elo: kill not flush the work" has been added to the 4.4-stable tree
Subsystems (2)
This is a note to let you know that I've just added the patch titled
HID: elo: kill not flush the work
to the 4.4-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
hid-elo-kill-not-flush-the-work.patch
and it can be found in the queue-4.4 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From
ed596a4a88bd161f868ccba078557ee7ede8a6efMon Sep 17 00:00:00 2001
From: Oliver Neukum <[email protected]>
Date: Tue, 31 May 2016 14:48:15 +0200
Subject: HID: elo: kill not flush the work
From: Oliver Neukum <[email protected]>
commit ed596a4a88bd161f868ccba078557ee7ede8a6ef upstream.
Flushing a work that reschedules itself is not a sensible operation. It needs to be killed. Failure to do so leads to a kernel panic in the timer code.
--- drivers/hid/hid-elo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/hid/hid-elo.c +1 -1
@@ -261,7 +261,7 @@ static void elo_remove(struct hid_devicestruct elo_priv *priv =hid_get_drvdata (hdev);hid_hw_stop (hdev); -flush_workqueue (wq); +cancel_delayed_work_sync (&priv->work);kfree (priv); }
Patches currently in stable-queue which might be from [email protected] are
queue-4.4/hid-elo-kill-not-flush-the-work.patch