linux/tools/include/uapi
Quentin Monnet 4961d07725 bpf: Clear up confusion in bpf_skb_adjust_room()'s documentation
Adding or removing room space _below_ layers 2 or 3, as the description
mentions, is ambiguous. This was written with a mental image of the
packet with layer 2 at the top, layer 3 under it, and so on. But it has
led users to believe that it was on lower layers (before the beginning
of the L2 and L3 headers respectively).

Let's make it more explicit, and specify between which layers the room
space is adjusted.

Reported-by: Rumen Telbizov <rumen.telbizov@menlosecurity.com>
Signed-off-by: Quentin Monnet <quentin@isovalent.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20220812153727.224500-3-quentin@isovalent.com
2022-08-15 17:34:29 +02:00
..
asm LoongArch: Add other common headers 2022-06-03 20:09:28 +08:00
asm-generic tools: Fixed MIPS builds due to struct flock re-definition 2022-07-20 12:55:33 +02:00
drm flexible-array transformations in UAPI for 6.0-rc1 2022-08-02 19:50:47 -07:00
linux bpf: Clear up confusion in bpf_skb_adjust_room()'s documentation 2022-08-15 17:34:29 +02:00
sound treewide: uapi: Replace zero-length arrays with flexible-array members 2022-06-28 21:26:05 +02:00