]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
can: rx-offload: introduce can_rx_offload_get_echo_skb() and can_rx_offload_queue_sor...
authorOleksij Rempel <o.rempel@pengutronix.de>
Tue, 18 Sep 2018 09:40:38 +0000 (11:40 +0200)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Fri, 9 Nov 2018 16:20:49 +0000 (17:20 +0100)
commit55059f2b7f868cd43b3ad30e28e18347e1b46ace
tree7393fec4b700cd4ad1c917d903441f2dbd7b8490
parent7da11ba5c5066dadc2e96835a6233d56d7b7764a
can: rx-offload: introduce can_rx_offload_get_echo_skb() and can_rx_offload_queue_sorted() functions

Current CAN framework can't guarantee proper/chronological order
of RX and TX-ECHO messages. To make this possible, drivers should use
this functions instead of can_get_echo_skb().

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/rx-offload.c
include/linux/can/rx-offload.h