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

dnsdist: Disable eBPF support when BPF_FUNC_tail_call is not found #4067

Merged
merged 1 commit into from Aug 1, 2016

Conversation

Projects
None yet
2 participants
@rgacogne
Member

rgacogne commented Jun 29, 2016

No description provided.

@rgacogne

This comment has been minimized.

Member

rgacogne commented Jun 29, 2016

@pieterlexis review welcome, there might be a prettier way to check this I don't know about!

@pieterlexis

This comment has been minimized.

Member

pieterlexis commented Jul 8, 2016

I think AC_CHECK_DECL is meant to check for functions. Or evben better, use AC_CHECK_FUNC

@rgacogne rgacogne force-pushed the rgacogne:dnsdist-fix-ebpf-detection branch from 43c0ddd to 7e8692a Jul 8, 2016

@rgacogne

This comment has been minimized.

Member

rgacogne commented Jul 8, 2016

Rewritten with AC_CHECK_DECL, as AC_CHECK_FUNC does not work for BPF_FUNC_tail_call since it's not a function. Thank you!

@rgacogne rgacogne merged commit cd34dc1 into PowerDNS:master Aug 1, 2016

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details

@rgacogne rgacogne deleted the rgacogne:dnsdist-fix-ebpf-detection branch Aug 1, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment