mirror of
https://github.com/torvalds/linux.git
synced 2026-11-28 17:32:32 +00:00
We're not currently setting skb->mac_header on ingress, and the netdev core rx path expects it. Without it, we'll hit a warning on DEBUG_NETDEV from commit1e4033b53d("net: skb_reset_mac_len() must check if mac_header was set") Initialise the mac_header to refer to the USB transport header. Fixes:0791c0327a("net: mctp: Add MCTP USB transport driver") Signed-off-by: Jeremy Kerr <[email protected]> Link: https://patch.msgid.link/20250829-mctp-usb-mac-header-v1-1-338ad725e183@codeconstruct.com.au Signed-off-by: Paolo Abeni <[email protected]>