mirror-linux/include/linux/can
Oliver Hartkopp 166e87329c can: propagate CAN device capabilities via ml_priv
Commit 1a620a7238 ("can: raw: instantly reject unsupported CAN frames")
caused a sequence of dependency and linker fixes.

Instead of accessing CAN device internal data structures which caused the
dependency problems this patch introduces capability information into the
CAN specific ml_priv data which is accessible from both sides.

With this change the CAN network layer can check the required features and
the decoupling of the driver layer and network layer is restored.

Fixes: 1a620a7238 ("can: raw: instantly reject unsupported CAN frames")
Cc: Marc Kleine-Budde <mkl@pengutronix.de>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Vincent Mailhol <mailhol@kernel.org>
Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net>
Link: https://patch.msgid.link/20260109144135.8495-3-socketcan@hartkopp.net
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2026-01-15 09:52:04 +01:00
..
dev can: peak: Modification of references to email accounts being deleted 2025-09-13 19:04:57 +02:00
platform can: sja1000: fix size of OCR_MODE_MASK define 2022-11-24 16:01:04 +01:00
bittiming.h can: calc_bittiming: add PWM calculation 2025-11-26 11:20:43 +01:00
can-ml.h can: propagate CAN device capabilities via ml_priv 2026-01-15 09:52:04 +01:00
core.h
dev.h can: propagate CAN device capabilities via ml_priv 2026-01-15 09:52:04 +01:00
length.h can: length: refactor frame lengths definition to add size in bits 2023-06-22 09:43:40 +02:00
rx-offload.h can: rx-offload: add can_rx_offload_get_echo_skb_queue_tail() 2023-07-28 09:45:25 +02:00
skb.h