Linux CAN drivers development
 help / color / mirror / Atom feed
* CAN-XL frame to not CAN-XL enabled interface
@ 2026-07-31 11:02 Marc Kleine-Budde
  2026-07-31 12:55 ` Vincent Mailhol
  0 siblings, 1 reply; 4+ messages in thread
From: Marc Kleine-Budde @ 2026-07-31 11:02 UTC (permalink / raw)
  To: Vincent Mailhol; +Cc: Oleksij Rempel, linux-can, Oliver Hartkopp, sashiko-bot

[-- Attachment #1: Type: text/plain, Size: 936 bytes --]

Vincent,

does the current code check if you send a CAN XL frame to a CAN XL
enabled interface?

On 31.07.2026 10:54:02, sashiko-bot@kernel.org wrote:
> This is a pre-existing issue, but does this code properly handle CAN XL frames?
>
> If an ETH_P_CANXL frame is sent via AF_PACKET, can_dev_dropped_skb() currently
> lacks a check to drop CAN XL frames for devices that don't support CAN XL.
> When such a frame enters rkcanfd_start_xmit(), can_is_canfd_skb() returns
> false, causing the driver to treat it as a Classic CAN frame.

> Sashiko AI review · https://sashiko.dev/#/patchset/20260731-master-v5-0-5b27029dee20@qq.com?part=1

regards,
Marc

-- 
Pengutronix e.K.                 | Marc Kleine-Budde          |
Embedded Linux                   | https://www.pengutronix.de |
Vertretung Nürnberg              | Phone: +49-5121-206917-129 |
Amtsgericht Hildesheim, HRA 2686 | Fax:   +49-5121-206917-9   |

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-07-31 13:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-31 11:02 CAN-XL frame to not CAN-XL enabled interface Marc Kleine-Budde
2026-07-31 12:55 ` Vincent Mailhol
2026-07-31 13:28   ` Vincent Mailhol
2026-07-31 13:42     ` Oliver Hartkopp

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox