summaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
authorEric Garver <e@erig.me>2018-01-22 14:10:04 -0500
committerPravin B Shelar <pshelar@ovn.org>2018-01-22 19:24:18 -0800
commitc08026342782ead8a1be70171046654ece6ed5b9 (patch)
treed310e01786e31363516ed826cdc419078a8c300e /acinclude.m4
parenta34eba019c4a247e96b3aaed24ce6d11fa5ec372 (diff)
downloadopenvswitch-c08026342782ead8a1be70171046654ece6ed5b9.tar.gz
acinclude: check for IP_CT_UNTRACKED
IP_CT_UNTRACKED is fairly new, but used by the kernel datapath ct_clear action. Signed-off-by: Eric Garver <e@erig.me> Acked-by: Pravin B Shelar <pshelar@ovn.org>
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m42
1 files changed, 2 insertions, 0 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 16a57a341..c04c2c65b 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -793,6 +793,8 @@ AC_DEFUN([OVS_CHECK_LINUX_COMPAT], [
OVS_FIND_FIELD_IFELSE([$KSRC/include/linux/netfilter.h], [nf_hook_ops],
[list],
[OVS_DEFINE([HAVE_LIST_IN_NF_HOOK_OPS])])
+ OVS_GREP_IFELSE([$KSRC/include/uapi/linux/netfilter/nf_conntrack_common.h],
+ [IP_CT_UNTRACKED])
if cmp -s datapath/linux/kcompat.h.new \
datapath/linux/kcompat.h >/dev/null 2>&1; then