]> git.karo-electronics.de Git - linux-beck.git/commit
can: bcm: fix hrtimer/tasklet termination in bcm op removal
authorOliver Hartkopp <socketcan@hartkopp.net>
Wed, 18 Jan 2017 20:30:51 +0000 (21:30 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Feb 2017 07:08:28 +0000 (08:08 +0100)
commita150e08704b24311a4d6215aade46691d6a7006a
treefa985d429a48e8368e152f5eb3e9321d2f85b336
parenta93ae8dccc3c723ed7a629dab37a3392387acd79
can: bcm: fix hrtimer/tasklet termination in bcm op removal

commit a06393ed03167771246c4c43192d9c264bc48412 upstream.

When removing a bcm tx operation either a hrtimer or a tasklet might run.
As the hrtimer triggers its associated tasklet and vice versa we need to
take care to mutually terminate both handlers.

Reported-by: Michael Josenhans <michael.josenhans@web.de>
Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net>
Tested-by: Michael Josenhans <michael.josenhans@web.de>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/can/bcm.c