Skip to content

tests/xdp: declare the BPF programs Dual MIT/GPL - #738

Open
lneto wants to merge 1 commit into
masterfrom
claude_bpf_license
Open

tests/xdp: declare the BPF programs Dual MIT/GPL#738
lneto wants to merge 1 commit into
masterfrom
claude_bpf_license

Conversation

@lneto

@lneto lneto commented Aug 22, 2026

Copy link
Copy Markdown
Contributor

The four tests/xdp/*.bpf.c programs declared char LICENSE[] SEC("license") = "GPL", while the rest of the tree — examples/filter/https.c and the tc test programs — uses char _license[] SEC("license") = "Dual MIT/GPL", which matches these files' dual SPDX-License-Identifier: MIT OR GPL-2.0-only. Align the xdp programs to that form.

No behavior change: Dual MIT/GPL is GPL-compatible, so the programs still load and call the kfunc. The xdp suite stays green (5/5).

The xdp test programs declared `LICENSE[] = "GPL"` while the rest of the tree
(examples/filter/https.c, the tc test programs) uses
`_license[] = "Dual MIT/GPL"`, matching the files' dual SPDX header. Align them.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@lneto lneto mentioned this pull request Aug 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants