summaryrefslogtreecommitdiff
path: root/lib/kobject.c
diff options
context:
space:
mode:
authorTimo Schlüßler <schluessler@krause.de>2019-10-11 16:38:19 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-12-05 00:33:40 +0300
commitf248c2b7e71c0bec5839bfc6be6d4450a8e47e66 (patch)
tree4c4e864d3cdd67345ab67a4b3738d96fdcf14d06 /lib/kobject.c
parentc9161071a6776637fe94696546ce0599256776f9 (diff)
downloadlinux-f248c2b7e71c0bec5839bfc6be6d4450a8e47e66.tar.xz
can: mcp251x: mcp251x_restart_work_handler(): Fix potential force_quit race condition
[ Upstream commit 27a0e54bae09d2dd023a01254db506d61cc50ba1 ] In mcp251x_restart_work_handler() the variable to stop the interrupt handler (priv->force_quit) is reset after the chip is restarted and thus a interrupt might occur. This patch fixes the potential race condition by resetting force_quit before enabling interrupts. Signed-off-by: Timo Schlüßler <schluessler@krause.de> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'lib/kobject.c')
0 files changed, 0 insertions, 0 deletions