* [PATCH iproute2] include: dual license the bpf helper includes
@ 2023-07-22 2:41 Stephen Hemminger
2023-07-22 11:57 ` Daniel Borkmann
2023-07-22 16:40 ` patchwork-bot+netdevbpf
0 siblings, 2 replies; 3+ messages in thread
From: Stephen Hemminger @ 2023-07-22 2:41 UTC (permalink / raw)
To: netdev; +Cc: Daniel Borkmann, Stephen Hemminger
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.
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
include/bpf_api.h | 2 +-
include/bpf_elf.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/bpf_api.h b/include/bpf_api.h
index 82c47089f614..5887d3a851cf 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 84e8ae00834c..ea8a11c95c0f 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__
--
2.39.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH iproute2] include: dual license the bpf helper includes
2023-07-22 2:41 [PATCH iproute2] include: dual license the bpf helper includes Stephen Hemminger
@ 2023-07-22 11:57 ` Daniel Borkmann
2023-07-22 16:40 ` patchwork-bot+netdevbpf
1 sibling, 0 replies; 3+ messages in thread
From: Daniel Borkmann @ 2023-07-22 11:57 UTC (permalink / raw)
To: Stephen Hemminger, netdev
On 7/22/23 4:41 AM, Stephen Hemminger 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.
>
> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH iproute2] include: dual license the bpf helper includes
2023-07-22 2:41 [PATCH iproute2] include: dual license the bpf helper includes Stephen Hemminger
2023-07-22 11:57 ` Daniel Borkmann
@ 2023-07-22 16:40 ` patchwork-bot+netdevbpf
1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+netdevbpf @ 2023-07-22 16:40 UTC (permalink / raw)
To: Stephen Hemminger; +Cc: netdev, daniel
Hello:
This patch was applied to iproute2/iproute2.git (main)
by Stephen Hemminger <stephen@networkplumber.org>:
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.
>
> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
>
> [...]
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!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-07-22 16:40 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-22 2:41 [PATCH iproute2] include: dual license the bpf helper includes Stephen Hemminger
2023-07-22 11:57 ` Daniel Borkmann
2023-07-22 16:40 ` patchwork-bot+netdevbpf
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).