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

ebpf: replace deprecated bpf_program__set_socket_filter #134

Closed

Conversation

vladamatena
Copy link
Contributor

Port fix for newer kernels. This make the simulator compile and run on Linux 6.4.4

bpf_program__set_<TYPE> functions have been deprecated since libbpf 0.8.
Replace with the equivalent bpf_program__set_type call to avoid a
deprecation warning.

Signed-off-by: Haochen Tong <[email protected]>
Reviewed-by: Zhang Chen <[email protected]>
Signed-off-by: Jason Wang <[email protected]>
@codecov-commenter
Copy link

Codecov Report

Patch and project coverage have no change.

Comparison is base (5cc5c0e) 18.31% compared to head (33aa4d7) 18.31%.

Additional details and impacted files
@@           Coverage Diff            @@
##           MINI404     #134   +/-   ##
========================================
  Coverage    18.31%   18.31%           
========================================
  Files          129      129           
  Lines        13286    13286           
  Branches      2647     2647           
========================================
  Hits          2433     2433           
  Misses       10753    10753           
  Partials       100      100           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@vintagepc vintagepc mentioned this pull request Oct 1, 2023
@vintagepc
Copy link
Owner

Deprecated by #141 which includes this fix as well as a GCC12+ patch

@vintagepc vintagepc closed this Nov 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants