]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
include: dual license the bpf helper includes
authorStephen Hemminger <stephen@networkplumber.org>
Sat, 22 Jul 2023 02:38:52 +0000 (19:38 -0700)
committerStephen Hemminger <stephen@networkplumber.org>
Sat, 22 Jul 2023 16:30:14 +0000 (09:30 -0700)
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 <daniel@iogearbox.net>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
include/bpf_api.h
include/bpf_elf.h

index 82c47089f61492b3c66bc531de2e0b31cfd51da3..5887d3a851cf8de91ee740dde8241ec5f13d5ac3 100644 (file)
@@ -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__
 
index 84e8ae00834c8b025f03e865e7b7af2d8e95dfb9..ea8a11c95c0f4ba7ae43b73bcd3e9df8b523e865 100644 (file)
@@ -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__