net: skbuff: move the fields BPF cares about directly next to the offset marker
authorJakub Kicinski <kuba@kernel.org>
Tue, 21 Mar 2023 01:41:15 +0000 (18:41 -0700)
committerMartin KaFai Lau <martin.lau@kernel.org>
Tue, 21 Mar 2023 04:57:49 +0000 (21:57 -0700)
commitc0ba861117c3e8deb03855d7dc5a7717958bbb18
treec9f18cb482cb512e02c7761a53aa7e816cfeb352
parentb94e032b7ad6318b36615f0e0cc3b0d61a5531e8
net: skbuff: move the fields BPF cares about directly next to the offset marker

To avoid more possible BPF dependencies with moving bitfields
around keep the fields BPF cares about right next to the offset
marker.

Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Link: https://lore.kernel.org/r/20230321014115.997841-4-kuba@kernel.org
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
include/linux/skbuff.h
tools/testing/selftests/bpf/prog_tests/ctx_rewrite.c