]> git.ipfire.org Git - thirdparty/linux.git/commit
Merge patch series "can: raw: better approach to instantly reject unsupported CAN...
authorMarc Kleine-Budde <mkl@pengutronix.de>
Thu, 15 Jan 2026 08:52:34 +0000 (09:52 +0100)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Thu, 15 Jan 2026 08:52:34 +0000 (09:52 +0100)
commit6c1f5146b214f281a04ceeff7608845f1818c4f2
tree94d76c6d98fec1cbc4213cd1c341bece70d8b7c3
parent3879cffd9d07aa0377c4b8835c4f64b4fb24ac78
parentfaba5860fcf9a0ae49d2e484397bce44293367ff
Merge patch series "can: raw: better approach to instantly reject unsupported CAN frames"

Oliver Hartkopp <socketcan@hartkopp.net> says:

This series reverts commit 1a620a723853 ("can: raw: instantly reject
unsupported CAN frames").

and its follow-up fixes for the introduced dependency issues.

commit 1a620a723853 ("can: raw: instantly reject unsupported CAN frames")
commit cb2dc6d2869a ("can: Kconfig: select CAN driver infrastructure by default")
commit 6abd4577bccc ("can: fix build dependency")
commit 5a5aff6338c0 ("can: fix build dependency")

The reverted patch was accessing CAN device internal data structures
from the network layer because it needs to know about the CAN protocol
capabilities of the CAN devices.

This data access caused build problems between the CAN network and the
CAN driver layer which introduced unwanted Kconfig dependencies and fixes.

The patches 2 & 3 implement a better approach which makes use of 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.

Link: https://patch.msgid.link/20260109144135.8495-1-socketcan@hartkopp.net
[mkl: give series a more descriptive name]
[mkl: properly format reverted patch commitish]
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>