[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAADnVQJs7R9_bfUvMyksXnD70cG8omTRC-upDOpxcAVZqs9VYg@mail.gmail.com>
Date: Tue, 19 May 2020 11:44:11 -0700
From: Alexei Starovoitov <alexei.starovoitov@...il.com>
To: Andrii Nakryiko <andriin@...com>
Cc: bpf <bpf@...r.kernel.org>,
Network Development <netdev@...r.kernel.org>,
Alexei Starovoitov <ast@...com>,
Daniel Borkmann <daniel@...earbox.net>,
Andrii Nakryiko <andrii.nakryiko@...il.com>,
Kernel Team <kernel-team@...com>,
Jesper Dangaard Brouer <brouer@...hat.com>,
Yonghong Song <yhs@...com>
Subject: Re: [PATCH bpf-next] selftest/bpf: make bpf_iter selftest compilable
against old vmlinux.h
On Mon, May 18, 2020 at 4:49 PM Andrii Nakryiko <andriin@...com> wrote:
>
> It's good to be able to compile bpf_iter selftest even on systems that don't
> have the very latest vmlinux.h, e.g., for libbpf tests against older kernels in
> Travis CI. To that extent, re-define bpf_iter_meta and corresponding bpf_iter
> context structs in each selftest. To avoid type clashes with vmlinux.h, rename
> vmlinux.h's definitions to get them out of the way.
>
> Cc: Jesper Dangaard Brouer <brouer@...hat.com>
> Cc: Yonghong Song <yhs@...com>
> Signed-off-by: Andrii Nakryiko <andriin@...com>
Applied. Thanks
Powered by blists - more mailing lists