Thread (16 messages) 16 messages, 4 authors, 2021-04-26

Re: [PATCH bpf-next 3/5] selftests/bpf: fix BPF_CORE_READ_BITFIELD() macro

From: Lorenz Bauer <hidden>
Date: 2021-04-26 08:10:50
Also in: bpf

On Sat, 24 Apr 2021 at 00:36, Andrii Nakryiko [off-list ref] 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 <redacted>

-- 
Lorenz Bauer  |  Systems Engineer
6th Floor, County Hall/The Riverside Building, SE1 7PB, UK

www.cloudflare.com
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help