From: Stephen Hemminger Date: Sat, 22 Jul 2023 02:38:52 +0000 (-0700) Subject: include: dual license the bpf helper includes X-Git-Tag: v6.5.0~22 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ac9650fe5c8016cc4c5c1c5e1df0adf5d14b906e;p=thirdparty%2Fiproute2.git include: dual license the bpf helper includes The files bpf_api.h and bpf_elf.h are useful for TC BPF programs to use. And there is no requirement that those be GPL only; we intend to allow BSD licensed BPF helpers as well. This makes the file license same as libbpf. Acked-by: Daniel Borkmann Signed-off-by: Stephen Hemminger --- diff --git a/include/bpf_api.h b/include/bpf_api.h index 82c47089f..5887d3a85 100644 --- a/include/bpf_api.h +++ b/include/bpf_api.h @@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: GPL-2.0 */ +/* SPDX-License-Identifier: GPL-2.0 or BSD-3-Clause */ #ifndef __BPF_API__ #define __BPF_API__ diff --git a/include/bpf_elf.h b/include/bpf_elf.h index 84e8ae008..ea8a11c95 100644 --- a/include/bpf_elf.h +++ b/include/bpf_elf.h @@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: GPL-2.0 */ +/* SPDX-License-Identifier: GPL-2.0 or BSD-3-Clause */ #ifndef __BPF_ELF__ #define __BPF_ELF__