On 10/19/20 2:02 PM, Oliver Hartkopp wrote: > As reported by Thomas Wagner here > https://github.com/hartkopp/can-isotp/issues/34 > the timeout handling for data frames is not enabled when the isotp socket > is used in listen-only mode (sockopt CAN_ISOTP_LISTEN_MODE). > This mode is enabled by the isotpsniffer application which therefore > became inconsistend with the strict rx timeout rules when running the > isotp protocol in the operational mode. > > This patch fixes this inconsistency by moving the return condition for the > listen-only mode behind the timeout handling code. > > Reported-by: Thomas Wagner <thwa1@xxxxxx> > Signed-off-by: Oliver Hartkopp <socketcan@xxxxxxxxxxxx> Applied to linux-can. tnx, 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 |
Attachment:
signature.asc
Description: OpenPGP digital signature