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

- From: Jakub Kicinski \<kuba@kernel.org\>
- Date: 2025-05-29 00:25:09 
- List: netdev
- Page: https://ratatoskr.run/netdev/2025/05/7923661
- Thread: https://ratatoskr.run/netdev/2025/05/7923434/t.md

```text
On Wed, 28 May 2025 16:54:39 +0200 Alexander Lobakin wrote:
> > 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.
```
