Thread (4 messages) 4 messages, 2 authors, 2021-09-27

Re: [PATCH bpf-next] samples: bpf: avoid name collision with kernel enum values

From: Toke Høiland-Jørgensen <hidden>
Date: 2021-09-27 12:37:37

Kumar Kartikeya Dwivedi [off-list ref] writes:
In xdp_redirect_map_multi.bpf.c, on newer kernels samples compilation
fails when vmlinux.h is generated from a kernel supporting broadcast for
devmap. Hence, avoid naming collisions to prevent build failure.
Hmm, shouldn't the sample just be getting the value from the kernel in
the first place instead of re-defining it?

-Toke
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help