linux-can.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH can 0/3] can: drivers: drop skb in xmit if device is in listen only mode
@ 2025-10-17 14:59 Marc Kleine-Budde
  2025-10-17 14:59 ` [PATCH can 1/3] can: bxcan: bxcan_start_xmit(): use can_dev_dropped_skb() instead of can_dropped_invalid_skb() Marc Kleine-Budde
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Marc Kleine-Budde @ 2025-10-17 14:59 UTC (permalink / raw)
  To: Dario Binacchi, Vincent Mailhol, Oliver Hartkopp,
	Stefan Mätje, socketcan, Heiko Stuebner
  Cc: kernel, linux-can, linux-kernel, linux-arm-kernel, linux-rockchip,
	Marc Kleine-Budde

I notived that 3 drivers (bxcan, esd and rockchip) use the function
can_dropped_invalid_skb(), that doesn't check if the device is in listen
only mode. This series converts these driver to use the new
can_dev_dropped_skb() function.

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
---
Marc Kleine-Budde (3):
      can: bxcan: bxcan_start_xmit(): use can_dev_dropped_skb() instead of can_dropped_invalid_skb()
      can: esd: acc_start_xmit(): use can_dev_dropped_skb() instead of can_dropped_invalid_skb()
      can: rockchip-canfd: rkcanfd_start_xmit(): use can_dev_dropped_skb() instead of can_dropped_invalid_skb()

 drivers/net/can/bxcan.c                      | 2 +-
 drivers/net/can/esd/esdacc.c                 | 2 +-
 drivers/net/can/rockchip/rockchip_canfd-tx.c | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
---
base-commit: 7e0d4c111369ed385ec4aaa6c9c78c46efda54d0
change-id: 20251017-fix-skb-drop-check-5da14b585634

Best regards,
--  
Marc Kleine-Budde <mkl@pengutronix.de>


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

end of thread, other threads:[~2025-10-20 15:19 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-17 14:59 [PATCH can 0/3] can: drivers: drop skb in xmit if device is in listen only mode Marc Kleine-Budde
2025-10-17 14:59 ` [PATCH can 1/3] can: bxcan: bxcan_start_xmit(): use can_dev_dropped_skb() instead of can_dropped_invalid_skb() Marc Kleine-Budde
2025-10-17 15:00 ` [PATCH can 2/3] can: esd: acc_start_xmit(): " Marc Kleine-Budde
2025-10-17 15:00 ` [PATCH can 3/3] can: rockchip-canfd: rkcanfd_start_xmit(): " Marc Kleine-Budde
2025-10-20 15:19 ` [PATCH can 0/3] can: drivers: drop skb in xmit if device is in listen only mode Marc Kleine-Budde

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).