linux-stable/drivers/net/can
Maxime Jayat 8a72a4689a can: netlink: Fix TDCO calculation using the old data bittiming
commit 2aa0a5e65e upstream.

The TDCO calculation was done using the currently applied data bittiming,
instead of the newly computed data bittiming, which means that the TDCO
had an invalid value unless setting the same data bittiming twice.

Fixes: d99755f71a ("can: netlink: add interface for CAN-FD Transmitter Delay Compensation (TDC)")
Signed-off-by: Maxime Jayat <maxime.jayat@mobile-devices.fr>
Reviewed-by: Vincent Mailhol <mailhol.vincent@wanadoo.fr>
Link: https://lore.kernel.org/all/40579c18-63c0-43a4-8d4c-f3a6c1c0b417@munic.io
Cc: stable@vger.kernel.org
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-02-23 09:12:47 +01:00
..
c_can
cc770
ctucanfd
dev can: netlink: Fix TDCO calculation using the old data bittiming 2024-02-23 09:12:47 +01:00
flexcan
ifi_canfd
m_can
mscan
peak_canfd
rcar can: rcar_canfd: Fix R-Car V3U GAFLCFG field accesses 2023-03-10 09:32:58 +01:00
sja1000
slcan
softing
spi can: mcp251xfd: __mcp251xfd_chip_set_mode(): increase poll timeout 2023-07-27 08:50:27 +02:00
usb can: gs_usb: gs_usb_receive_bulk_callback(): count RX overflow errors also in case of OOM 2023-09-13 09:42:31 +02:00
Kconfig can: sun4i_can: Only show Kconfig if ARCH_SUNXI is set 2023-10-19 23:08:52 +02:00
Makefile
at91_can.c
can327.c
grcan.c
janz-ican3.c
kvaser_pciefd.c can: kvaser_pciefd: Set hardware timestamp on transmitted packets 2023-07-19 16:21:11 +02:00
pch_can.c
sun4i_can.c can: sun4i_can: Add support for the Allwinner D1 2023-09-23 11:11:02 +02:00
ti_hecc.c
vcan.c
vxcan.c net: validate veth and vxcan peer ifindexes 2023-08-30 16:11:02 +02:00
xilinx_can.c