summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Rose <gvrose8192@gmail.com>2017-09-21 08:35:29 -0700
committerBen Pfaff <blp@ovn.org>2017-09-21 10:15:16 -0700
commitae2722ead691269979834c75a63649dd9baa9d7f (patch)
tree0f5005588c0979db934353e6ecc66bd2b7a979dd
parent13133850f7625f8c5b747dbac8940c3de2d85990 (diff)
downloadopenvswitch-ae2722ead691269979834c75a63649dd9baa9d7f.tar.gz
acinclude: Add missing define
The final line of a conditional search for the nf_conntrack_helper_put function does not actually define HAVE_NF_CONNTRACK_HELPER_PUT used in datapath/linux/compat/include/net/netfilter/nf_conntrack_helper.h. Fixes: ac8e3c6d14d2 ("datapath: introduce nf_conntrack_helper_put function") Signed-off-by: Greg Rose <gvrose8192@gmail.com> Signed-off-by: Ben Pfaff <blp@ovn.org>
-rw-r--r--acinclude.m43
1 files changed, 2 insertions, 1 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 7793cd0a0..103e73003 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -766,7 +766,8 @@ AC_DEFUN([OVS_CHECK_LINUX_COMPAT], [
OVS_FIND_FIELD_IFELSE([$KSRC/include/net/vxlan.h], [vxlan_dev], [cfg],
[OVS_DEFINE([HAVE_VXLAN_DEV_CFG])])
OVS_GREP_IFELSE([$KSRC/include/net/netfilter/nf_conntrack_helper.h],
- [nf_conntrack_helper_put])
+ [nf_conntrack_helper_put],
+ [OVS_DEFINE(HAVE_NF_CONNTRACK_HELPER_PUT)])
if cmp -s datapath/linux/kcompat.h.new \
datapath/linux/kcompat.h >/dev/null 2>&1; then