On Wed, 28 May 2025 16:54:39 +0200 Alexander Lobakin wrote:
quoted
So what happens to the packet that landed in a netmem buffer in case
when HDS failed? I don't see the handling.
This should not happen in general, as in order to use TCP devmem, you
need to isolate the traffic, and idpf parses all TCP frames correctly.
If this condition is true, then napi_build_skb() will be called with the
devmem buffer passed as head. Should I drop such packets, so that this
would never happen?
Yes, misrouted packets can't crash the kernel.