[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20211017104048.lkodbwh3f5iqqgcq@pengutronix.de>
Date: Sun, 17 Oct 2021 12:40:48 +0200
From: Marc Kleine-Budde <mkl@...gutronix.de>
To: Ziyang Xuan <william.xuanziyang@...wei.com>
Cc: robin@...tonic.nl, linux@...pel-privat.de, socketcan@...tkopp.net,
davem@...emloft.net, kuba@...nel.org, linux-can@...r.kernel.org,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH net] can: j1939: fix errant alert in j1939_tp_rxtimer
On 06.09.2021 17:42:19, Ziyang Xuan wrote:
> When the session state is J1939_SESSION_DONE, j1939_tp_rxtimer() will
> give an alert "rx timeout, send abort", but do nothing actually.
> Move the alert into session active judgment condition, it is more
> reasonable.
>
> One of the scenarioes is that j1939_tp_rxtimer() execute followed by
scenarios
Typo fixed while applying.
> j1939_xtp_rx_abort_one(). After j1939_xtp_rx_abort_one(), the session
> state is J1939_SESSION_DONE, then j1939_tp_rxtimer() give an alert.
>
> Fixes: 9d71dd0c7009 ("can: add support of SAE J1939 protocol")
> Signed-off-by: Ziyang Xuan <william.xuanziyang@...wei.com>
Added to linux-can/testing, added stable on Cc.
Thanks,
Marc
--
Pengutronix e.K. | Marc Kleine-Budde |
Embedded Linux | https://www.pengutronix.de |
Vertretung West/Dortmund | Phone: +49-231-2826-924 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)
Powered by blists - more mailing lists