]> git.baikalelectronics.ru Git - kernel.git/commit
can: flexcan: handle tx-complete CAN frames via rx-offload infrastructure
authorOleksij Rempel <o.rempel@pengutronix.de>
Tue, 18 Sep 2018 09:40:39 +0000 (11:40 +0200)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Fri, 9 Nov 2018 16:33:32 +0000 (17:33 +0100)
commit5b828d2a76d12b43a12710d60e31f10de40b5454
tree6442973934e41d4cea8c4b03820c6890aa9e71d6
parentadb75f1159f2ecc4c14fe2b6b7e71d07843bb897
can: flexcan: handle tx-complete CAN frames via rx-offload infrastructure

Current flexcan driver will put TX-ECHO in regular unsorted way, in
this case TX-ECHO can come after the response to the same TXed message.
In some cases, for example for J1939 stack, things will break.
This patch is using new rx-offload API to put the messages just in the
right place.

Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Cc: linux-stable <stable@vger.kernel.org>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/flexcan.c