linux/drivers/net/can/dev
Oliver Hartkopp e90cefcffd can: dev: fix missing CAN XL support in can_put_echo_skb()
[ Upstream commit 6bffdc38f9 ]

can_put_echo_skb() checks for the enabled IFF_ECHO flag and the
correct ETH_P type of the given skbuff. When implementing the CAN XL
support the new check for ETH_P_CANXL has been forgotten.

Fixes: fb08cba12b ("can: canxl: update CAN infrastructure for CAN XL frames")
Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net>
Link: https://lore.kernel.org/all/20230506184515.39241-1-socketcan@hartkopp.net
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-05-24 17:32:46 +01:00
..
bittiming.c can: bittiming: move bittiming calculation functions to calc_bittiming.c 2022-06-11 17:11:01 +02:00
calc_bittiming.c can: bittiming: move bittiming calculation functions to calc_bittiming.c 2022-06-11 17:11:01 +02:00
dev.c can: dev: add generic function can_eth_ioctl_hwts() 2022-07-28 11:44:30 +02:00
length.c
Makefile can: Kconfig: add CONFIG_CAN_RX_OFFLOAD 2022-06-11 17:11:02 +02:00
netlink.c can: netlink: dump bitrate 0 if can_priv::bittiming.bitrate is -1U 2022-07-03 11:34:24 +02:00
rx-offload.c can: skb: add skb CAN frame data length helpers 2022-09-15 09:08:08 +02:00
skb.c can: dev: fix missing CAN XL support in can_put_echo_skb() 2023-05-24 17:32:46 +01:00