Last time I looked (a long long time ago), BPF was ok, because of the "B", but eBPF was linux-only in such a way that loading eBPF program into kernel made your userspace program a derived work of linux kernel and forced GPL-2 on the userspace.
Has this changed? Is there a good writeup about eBPF wrt licensing?
edit: quoting current manpage on struct bpf_attr member "license":
license is a license string, which must be GPL compatible to call helper functions marked gpl_only. (The licensing rules are the same as for kernel modules, so that
also dual licenses, such as "Dual BSD/GPL", may be used.)
So what is gpl_only now? Used to be the whole of eBPF.