-
Notifications
You must be signed in to change notification settings - Fork 94
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
chore(selftest): Add tc Query test case #422
Conversation
b7bd38e
to
cbf8697
Compare
@chentao-kernel do you mind tackling in this same PR this other issue? #420 |
be0a5e6
to
91924f3
Compare
@geyslan hi, geyslan, i add the test case for #420, it seems the same cause with 421 |
1d3c72c
to
968c093
Compare
you mean issue #420 and #421 ? actually,the test case mentioned in #420 #421 not correct, we should init the parameter first, you can see test case in linux source tools/testing/selftest/bpf/prog_tests/tc_bpf.c |
The bpf_tc_query/bpf_tc_detach interface should init the parameter first, sometimes it may be confused for us, so add the case to reduce the confusion. aquasecurity#421 aquasecurity#420 Signed-off-by: Tao Chen <[email protected]>
968c093
to
b872e29
Compare
Tks @chentao-kernel. |
The bpf_tc_query interface should init the parameter first, sometimes it may be confused for us, so add the test case to reduce the confusion.
Close: #421