summaryrefslogtreecommitdiff
path: root/include/linux/path.h
diff options
context:
space:
mode:
authorTimo Schlüßler <schluessler@krause.de>2019-10-11 15:38:19 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-12-05 09:19:43 +0100
commit7302e7b10855e8512d406e2cb32916c71edb8936 (patch)
tree85970634550c91207efdc410137a6091f148b44b /include/linux/path.h
parent24e10fc2e0db64a87853f868f5c8dafac469ec8a (diff)
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 'include/linux/path.h')
0 files changed, 0 insertions, 0 deletions