summaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
authorFlavio Leitner <fbl@redhat.com>2015-08-28 10:37:08 -0300
committerJesse Gross <jesse@nicira.com>2015-08-28 09:43:22 -0700
commit75e93287dbee2b7e0d8830a09505296ed1ba450d (patch)
treecb7f55cf03152db8421741e70ee75b13154472b6 /acinclude.m4
parent9fc807b0e87abf5bfe3d460786e66dbe803864bc (diff)
downloadopenvswitch-75e93287dbee2b7e0d8830a09505296ed1ba450d.tar.gz
datapath: improve l4_rxhash regex
Red Hat Enterprise Linux 6 has a comment saying that it doesn't support l4_rxhash which matches the current grep regex. 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.m43
1 files changed, 2 insertions, 1 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 45cfaf660..db0de0ddb 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -381,7 +381,8 @@ AC_DEFUN([OVS_CHECK_LINUX_COMPAT], [
OVS_GREP_IFELSE([$KSRC/include/linux/skbuff.h], [skb_clear_hash])
OVS_GREP_IFELSE([$KSRC/include/linux/skbuff.h], [int.skb_zerocopy(],
[OVS_DEFINE([HAVE_SKB_ZEROCOPY])])
- OVS_GREP_IFELSE([$KSRC/include/linux/skbuff.h], [l4_rxhash])
+ OVS_GREP_IFELSE([$KSRC/include/linux/skbuff.h], [u8.*l4_rxhash],
+ [OVS_DEFINE([HAVE_L4_RXHASH])])
OVS_GREP_IFELSE([$KSRC/include/linux/skbuff.h], [skb_ensure_writable])
OVS_GREP_IFELSE([$KSRC/include/linux/skbuff.h], [skb_vlan_pop])
OVS_GREP_IFELSE([$KSRC/include/linux/skbuff.h], [skb_vlan_push])