/plushcap/analysis/cloudflare/a-debugging-story-corrupt-packets-in-af_xdp-kernel-bug-or-user-error

A debugging story: corrupt packets in AF_XDP; a kernel bug or user error?

What's this blog post about?

A race condition was found in the Linux virtual ethernet (veth) driver that affected AF_XDP enabled devices by corrupting packets. The issue was fixed by ensuring that all packet processing operations were completed before signaling the NAPI poll as complete. This bug was important to fix because it slightly increased the latency of connection establishments and data transfers across the network.

Company
Cloudflare

Date published
Jan. 16, 2023

Author(s)
Shawn Bohrer, Bastien Dhiver

Word count
4703

Language
English

Hacker News points
6


By Matt Makai. 2021-2024.