mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-08 18:57:22 +00:00
Merge patch series "can: raw: better approach to instantly reject unsupported CAN frames"
Oliver Hartkopp <socketcan@hartkopp.net> says: This series reverts commit1a620a7238("can: raw: instantly reject unsupported CAN frames"). and its follow-up fixes for the introduced dependency issues. commit1a620a7238("can: raw: instantly reject unsupported CAN frames") commitcb2dc6d286("can: Kconfig: select CAN driver infrastructure by default") commit6abd4577bc("can: fix build dependency") commit5a5aff6338("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>
This commit is contained in:
commit
6c1f5146b2
10 changed files with 102 additions and 53 deletions
Loading…
Add table
Add a link
Reference in a new issue