summaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
authorFlavio Leitner <fbl@redhat.com>2015-08-28 10:37:09 -0300
committerJesse Gross <jesse@nicira.com>2015-08-28 09:44:48 -0700
commit46d69d187e2eac37523efd535085cb8a29633615 (patch)
tree9aeac93c9892728b25cf046c3b8692092577d2dc /acinclude.m4
parent75e93287dbee2b7e0d8830a09505296ed1ba450d (diff)
downloadopenvswitch-46d69d187e2eac37523efd535085cb8a29633615.tar.gz
datapath: check for backported proto_ports_offset
Red Hat Enterprise Linux 6 has backported it from upstream, so check for proto_ports_offset instead of kernel version. Signed-off-by: Flavio Leitner <fbl@redhat.com> Signed-off-by: Jesse Gross <jesse@nicira.com>
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m41
1 files changed, 1 insertions, 0 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index db0de0ddb..5e34d92de 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -324,6 +324,7 @@ AC_DEFUN([OVS_CHECK_LINUX_COMPAT], [
OVS_GREP_IFELSE([$KSRC/include/linux/if_vlan.h], [vlan_set_encap_proto])
OVS_GREP_IFELSE([$KSRC/include/linux/in.h], [ipv4_is_multicast])
+ OVS_GREP_IFELSE([$KSRC/include/linux/in.h], [proto_ports_offset])
OVS_GREP_IFELSE([$KSRC/include/net/ip.h], [__ip_select_ident.*dst_entry],
[OVS_DEFINE([HAVE_IP_SELECT_IDENT_USING_DST_ENTRY])])
OVS_GREP_IFELSE([$KSRC/include/net/ip.h], [inet_get_local_port_range.*net],