Skip to contentSkip to conversation

include: dual license the bpf helper includes

PATCH Applied Stephen Hemminger 3 participants 3 messages Jul 22, 2023

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 include/bpf_api.h | 2 +-
 include/bpf_elf.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
include/bpf_api.h +1 -1
index 82c47089f614..5887d3a851cf 100644
@@ -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__
 
include/bpf_elf.h +1 -1
index 84e8ae00834c..ea8a11c95c0f 100644
@@ -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__
 
Signature · 1 line
2.39.2
#2 lore raw
In reply to Stephen Hemminger
This patch was applied to iproute2/iproute2.git (main) by Stephen Hemminger <[email protected]>:

Hello:

This patch was applied to iproute2/iproute2.git (main) by Stephen Hemminger <[email protected]>:

Quoted 9 lines · On Fri, 21 Jul 2023 19:41:20 -0700 you wrote:

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.

[...]

Here is the summary with links:
- [iproute2] include: dual license the bpf helper includes

    https://git.kernel.org/pub/scm/network/iproute2/iproute2.git/commit/?id=ac9650fe5c80

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html