Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
bpf: clean-room implementation of parts of the code #2048
Kinvolk was contacted by @tgraf about suspected unattributed code which Kinvolk commited to the Felix repository.
This PR is a clean-room implementation for any similarities that we suspect @tgraf might be referring to.
@iaguis This is not a clean room design implementation. This PR is moving code around, un-inlining functions and converting switch conditionals to if conditionals. In fact, even after this PR, some code snippets still match code from the Cilium repository 100%. This PR does not change the fact that it's very clear where this code was derived from.
You are free to copy, reuse and modify the source code of the Cilium repository in any way you want, as long as you respect the open source license which includes, among other things, preserving the copyright and license as well as attributing the original authors. Please do so.
Regarding your statement that this is a suspicion. The following is a diff of relevant code sections between the original source  and the version committed to this repository:
I see no room for interpretation. Large sections are even entirely unmodified.