Files
Vincent Li 3d6baf8905 fix: erroneous bitmask operation
In kernel selftest/bpf xdp synproxy has:
[0] b6a3451e084 (selftests/bpf: Fix erroneous bitmask operation)
sync the fix here.

It addresses an issue when xdp synproxy need to handle SYNACK
from backend server, see [1].

[0]: https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git/commit/?id=b6a3451e0847
[1]: https://lore.kernel.org/xdp-newbies/CAK3+h2z1r69Z5g+qTwCaJzgnD5sv93x67TLJ3gVQ70_nFE0AqQ@mail.gmail.com/T/#t

Signed-off-by: Vincent Li <vincent.mc.li@gmail.com>
2023-12-11 23:44:46 +00:00
..
2023-12-11 23:44:46 +00:00

NOTICE

This directory contains include header files needed to compile BPF programs.

The files are either copied from the kernel source (in subdir linux/) or "shadow" files that contain useful defines that are often used in kernel headers.

For example bpf/compiler.h contains practical compile macros like READ_ONCE and WRITE_ONCE with verifier workarounds via bpf_barrier(). And the likely() + unlikely() annotations.

The include file linux/bpf.h is the most central file that all BPF (kernel-side) programs include. It is maintained in this directory, because this project knows what BPF features it uses, which makes the update cycle tied to the project itself. We prefer not to depend on the OS distro kernel headers version of this file. (Hint, due to the use of enum instead of define the usual macro C-preprocessor define detection will not work. This is done on purpose to discourage userspace from detecting features via header file defines.).