Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix haveProgTestRun on kernel version 5.15.65 #788

Merged
merged 1 commit into from Sep 14, 2022

Commits on Sep 7, 2022

  1. Fix haveProgTestRun on kernel version 5.15.65

    A recent patch[0] to the kernel prevents bpf_prog_test_run_skb() from running
    the bpf program with with an empty skb.  This makes the existing feature check
    fail, so to fix it an additional byte of input data is needed.
    
    [0]: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=fd1894224407c484f652ad456e1ce423e89bb3eb
    player-two committed Sep 7, 2022
    Copy the full SHA
    1b41d44 View commit details
    Browse the repository at this point in the history