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

merged 1 commit into from Aug 1, 2016


None yet

2 participants


No description provided.


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

@pieterlexis pieterlexis was assigned by Habbie Jul 7, 2016
pieterlexis commented Jul 8, 2016 edited

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

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
@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