summaryrefslogtreecommitdiffstats
path: root/Kbuild
diff options
context:
space:
mode:
authorOleksij Rempel <o.rempel@pengutronix.de>2019-11-07 18:46:38 +0100
committerMarc Kleine-Budde <mkl@pengutronix.de>2019-11-13 10:42:34 +0100
commitd966635b384b9571a43bd38c61f280c47eb564ad (patch)
tree6b4af93485707a092043200d9971f8c5e6400564 /Kbuild
parentfd81ebfe7975b9a69494430676d16f7125aac3ee (diff)
downloadlinux-d966635b384b9571a43bd38c61f280c47eb564ad.tar.bz2
can: j1939: transport: make sure the aborted session will be deactivated only once
j1939_session_cancel() was modifying session->state without protecting it by locks and without checking actual state of the session. This patch moves j1939_tp_set_rxtimeout() into j1939_session_cancel() and adds the missing locking. Fixes: 9d71dd0c7009 ("can: add support of SAE J1939 protocol") Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions