Re: [PATCH net-next 01/16] libeth: convert to netmem

From
Jakub Kicinski <kuba@kernel.org>
Date
2025-05-29 00:25:09
Also in
bpf
Reply to
Alexander Lobakin, 2025-05-28
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.
Thread (26 messages) 26 messages, 4 authors, last reply 2025-05-29
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help