Skip to content
Commit b6f78276 authored by Oleksij Rempel's avatar Oleksij Rempel Committed by Greg Kroah-Hartman
Browse files

net: can: j1939: recover socket queue on CAN bus error during BAM transmission

commit 9ad1da14 upstream.

Addresses an issue where a CAN bus error during a BAM transmission
could stall the socket queue, preventing further transmissions even
after the bus error is resolved. The fix activates the next queued
session after the error recovery, allowing communication to continue.

Fixes: 9d71dd0c

 ("can: add support of SAE J1939 protocol")
Cc: stable@vger.kernel.org
Reported-by: default avatarAlexander Hölzl <alexander.hoelzl@gmx.net>
Tested-by: default avatarAlexander Hölzl <alexander.hoelzl@gmx.net>
Signed-off-by: default avatarOleksij Rempel <o.rempel@pengutronix.de>
Link: https://lore.kernel.org/all/20240528070648.1947203-1-o.rempel@pengutronix.de
Cc: stable@vger.kernel.org
Signed-off-by: default avatarMarc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent ab2a6839
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment