Lost in transit: debugging dropped packets from negative header lengths
Blog post from Cloudflare
Debugging networking issues can be challenging, especially when the issue is occurring in the kernel. In this post, we discussed a specific problem where packet segmentation was not working correctly with IPVS's native encapsulation. We outlined our approach to debugging the issue using pwru and kprobe tracepoints to identify where things were going wrong. By analyzing tracepoint output, we discovered that inner MAC header offsets were being calculated incorrectly. We then corrected this in our kernel and observed an immediate improvement in network performance. Finally, we submitted a Linux kernel patch upstream for inclusion in future releases of the kernel.
| Trend | Post Mentions | Total Month Mentions | Posts | Companies | MoM |
|---|---|---|---|---|---|
| Kubernetes | 4 | 1,520 | 189 | 63 | -4% |
| Observability | 1 | 1,266 | 225 | 69 | -10% |
Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.