+5
−2
+1
−1
+27
−0
Loading
Oliver Hartkopp <socketcan@hartkopp.net> says: This series reverts commit 1a620a72 ("can: raw: instantly reject unsupported CAN frames"). and its follow-up fixes for the introduced dependency issues. commit 1a620a72 ("can: raw: instantly reject unsupported CAN frames") commit cb2dc6d2 ("can: Kconfig: select CAN driver infrastructure by default") commit 6abd4577 ("can: fix build dependency") commit 5a5aff63 ("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>