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

test_xdp_frags: check for privs early #316

Merged

Commits on Apr 22, 2023

  1. test_xdp_frags: check for privs early

    As currently written, `test_xdp_frags` if run without
    necessary permissions will loudly print "this kernel
    does NOT support xdp frags", and then exit on the
    setrlimit(). The same thing happens if the argument list
    is invalid. Instead, verify all this before performing
    the frag support check, so as not to dismay users using
    this program to check for frag support.
    
    Signed-off-by: nick black <dankamongmen@gmail.com>
    dankamongmen committed Apr 22, 2023
    Configuration menu
    Copy the full SHA
    f850a10 View commit details
    Browse the repository at this point in the history