-
Notifications
You must be signed in to change notification settings - Fork 95
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
TcHook.Query() always raises the failed to query tc hook: invalid argument
error.
#421
Comments
chentao-kernel
added a commit
to chentao-kernel/libbpfgo
that referenced
this issue
Apr 8, 2024
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. aquasecurity#421 Signed-off-by: Tao Chen <[email protected]>
@mozillazg hi, mozillazg, i add the test case, is it helpful? |
chentao-kernel
added a commit
to chentao-kernel/libbpfgo
that referenced
this issue
Apr 8, 2024
The bpf_tc_query interface should init the parameter first, sometimes it may be confused for us, so add the case to reduce the confusion. aquasecurity#421 Signed-off-by: Tao Chen <[email protected]>
@geyslan we can reproduce it in the ci env: |
chentao-kernel
added a commit
to chentao-kernel/libbpfgo
that referenced
this issue
Apr 8, 2024
The bpf_tc_query interface should init the parameter first, sometimes it may be confused for us, so add the case to reduce the confusion. aquasecurity#421 aquasecurity#421 Signed-off-by: Tao Chen <[email protected]>
chentao-kernel
added a commit
to chentao-kernel/libbpfgo
that referenced
this issue
Apr 8, 2024
The bpf_tc_query 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]>
chentao-kernel
added a commit
to chentao-kernel/libbpfgo
that referenced
this issue
Apr 8, 2024
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]>
chentao-kernel
added a commit
to chentao-kernel/libbpfgo
that referenced
this issue
Apr 8, 2024
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]>
chentao-kernel
added a commit
to chentao-kernel/libbpfgo
that referenced
this issue
Apr 8, 2024
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]>
chentao-kernel
added a commit
to chentao-kernel/libbpfgo
that referenced
this issue
Apr 8, 2024
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]>
chentao-kernel
added a commit
to chentao-kernel/libbpfgo
that referenced
this issue
Apr 9, 2024
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]>
geyslan
pushed a commit
that referenced
this issue
Apr 9, 2024
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. #421 #420 Signed-off-by: Tao Chen <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
TcHook.Query()
always raises thefailed to query tc hook: invalid argument
error.test with the main branch: a55c024
The text was updated successfully, but these errors were encountered: