linux/drivers/net/can
Oliver Hartkopp db6735e84b can: use skb hash instead of private variable in headroom
commit d4fb6514ff upstream.

The can_skb_priv::skbcnt variable is used to identify CAN skbs in the RX
path analogue to the skb->hash.

As the skb hash is not filled in CAN skbs move the private skbcnt value to
skb->hash and set skb->sw_hash accordingly. The skb->hash is a value used
for RPS to identify skbs. Use it as intended.

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net>
Link: https://patch.msgid.link/20260201-can_skb_ext-v8-1-3635d790fe8b@hartkopp.net
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
History 2026-08-27 14:28:22 +02:00
..
c_can can: c_can: c_can_chip_config(): keep controller in init mode until bittiming is configured 2026-08-19 17:14:11 +02:00
cc770 can: do not increase rx statistics when generating a CAN rx error message frame 2024-12-14 19:51:25 +01:00
dev can: use skb hash instead of private variable in headroom 2026-08-27 14:28:22 +02:00
ifi_canfd can: ifi_canfd: ifi_canfd_handle_lec_err(): fix {rx,tx}_errors statistics 2024-12-14 19:51:26 +01:00
m_can can: m_can: m_can_plat_remove(): add missing pm_runtime_disable() 2025-10-29 14:03:07 +01:00
mscan can: do not increase rx statistics when generating a CAN rx error message frame 2024-12-14 19:51:25 +01:00
peak_canfd can: do not increase rx statistics when generating a CAN rx error message frame 2024-12-14 19:51:25 +01:00
rcar can: rcar_can: rcar_can_resume(): fix s2ram with PSCI 2025-10-02 13:39:10 +02:00
sja1000 can: sja1000: fix max irq loop handling 2025-12-07 06:09:34 +09:00
softing can: softing: fw_parse(): validate firmware record spans 2026-08-19 17:14:12 +02:00
spi can: mcp251x: add error handling for power enable in open and resume 2026-06-01 17:35:00 +02:00
usb can: gs_usb: gs_usb_receive_bulk_callback(): resubmit URB on skb allocation failure 2026-08-23 14:17:30 +02:00
at91_can.c can: do not increase rx statistics when generating a CAN rx error message frame 2024-12-14 19:51:25 +01:00
flexcan.c can: flexcan: disable transceiver during system PM 2025-04-10 14:32:05 +02:00
grcan.c can: grcan: grcan_probe(): remove extra of_node_get() 2022-07-12 16:34:48 +02:00
janz-ican3.c can: janz-ican3: use DEVICE_ATTR_RO/RW() helper macro 2021-07-25 11:36:26 +02:00
Kconfig can: flexcan: update Kconfig to enable coldfire 2021-07-25 11:36:29 +02:00
kvaser_pciefd.c can: kvaser_pciefd: Store device channel index 2025-08-28 16:24:08 +02:00
led.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
Makefile can: dev: move driver related infrastructure into separate subdir 2021-01-13 09:42:58 +01:00
pch_can.c can: do not increase rx statistics when generating a CAN rx error message frame 2024-12-14 19:51:25 +01:00
slcan.c can: use skb hash instead of private variable in headroom 2026-08-27 14:28:22 +02:00
sun4i_can.c can: sun4i_can: sun4i_can_interrupt(): fix max irq loop handling 2025-12-07 06:09:34 +09:00
ti_hecc.c can: rx-offload: add skb queue for use during ISR 2021-07-25 11:36:25 +02:00
vcan.c net: introduce CAN specific pointer in the struct net_device 2021-02-24 14:32:15 -08:00
vxcan.c net: validate veth and vxcan peer ifindexes 2023-08-30 16:18:14 +02:00
xilinx_can.c can: xilinx_can: xcan_write_frame(): fix use-after-free of transmitted SKB 2025-10-02 13:39:03 +02:00