]> git.baikalelectronics.ru Git - kernel.git/commit
can: j1939: transport: j1939_session_fresh_new(): make sure EOMA is send with the...
authorOleksij Rempel <o.rempel@pengutronix.de>
Fri, 25 Oct 2019 13:04:13 +0000 (15:04 +0200)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Mon, 4 Nov 2019 20:47:23 +0000 (21:47 +0100)
commit1e666f850467875bf25013202e8cc8665e5d58ea
tree97faed6b6f66be7d3d410d1328e6f0e24c29361c
parenta907569bc71668d5410f5a99e66fa5a5fec94ba1
can: j1939: transport: j1939_session_fresh_new(): make sure EOMA is send with the total message size set

We were sending malformed EOMA messageswith total message size set to 0.

This patch fixes the bug.

Reported-by: https://github.com/linux-can/can-utils/issues/159
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Acked-by: Kurt Van Dijck <dev.kurt@vandijck-laurijssen.be>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
net/can/j1939/transport.c