On Tue, 4 Feb 2025 11:41:09 -0800 Stanislav Fomichev wrote:
Don't we need some way for the device to opt-in (or opt-out) and avoid such issues?
Yeah, I think likely the driver needs to declare support (i.e. it's not using dma-mapping API with dma-buf addresses).
netif_skb_features/ndo_features_check seems like a good fit?
validate_xmit_skb()