On Sat, 24 Apr 2021 at 00:36, Andrii Nakryiko <andrii@xxxxxxxxxx> wrote: > > Fix BPF_CORE_READ_BITFIELD() macro used for reading CO-RE-relocatable > bitfields. Missing breaks in a switch caused 8-byte reads always. This can > confuse libbpf because it does strict checks that memory load size corresponds > to the original size of the field, which in this case quite often would be > wrong. Acked-by: Lorenz Bauer <lmb@xxxxxxxxxxxxxx> -- Lorenz Bauer | Systems Engineer 6th Floor, County Hall/The Riverside Building, SE1 7PB, UK www.cloudflare.com