diff options
author | Tadaaki Nagao <nagao@stratosphere.co.jp> | 2012-07-12 16:25:29 +0900 |
---|---|---|
committer | Jesse Gross <jesse@nicira.com> | 2012-07-12 15:40:26 -0700 |
commit | 6c4ea27c48b30eaec8e37e642d5072f53c5b2670 (patch) | |
tree | 27368485663df8f263835964b78463ea44bd89b2 /acinclude.m4 | |
parent | 2b07c8b182b76e4e3a162796d3ae273ef51d4131 (diff) |
datapath: Check for backported skb_frag_page().
Recently released CentOS 6.3 (and probably also RHEL 6.3, I assume)
backported skb_frag_page() and others to their 2.6.32-based kernel,
which caused build failure of Open vSwitch kernel modules.
Signed-off-by: Tadaaki Nagao <nagao@stratosphere.co.jp>
Signed-off-by: Jesse Gross <jesse@nicira.com>
Diffstat (limited to 'acinclude.m4')
-rw-r--r-- | acinclude.m4 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/acinclude.m4 b/acinclude.m4 index 43f044a9..b5876a88 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -247,6 +247,7 @@ AC_DEFUN([OVS_CHECK_LINUX_COMPAT], [ OVS_GREP_IFELSE([$KSRC/include/linux/skbuff.h], [skb_warn_if_lro], [OVS_DEFINE([HAVE_SKB_WARN_LRO])]) OVS_GREP_IFELSE([$KSRC/include/linux/skbuff.h], [consume_skb]) + OVS_GREP_IFELSE([$KSRC/include/linux/skbuff.h], [skb_frag_page]) OVS_GREP_IFELSE([$KSRC/include/linux/string.h], [kmemdup], [], [OVS_GREP_IFELSE([$KSRC/include/linux/slab.h], [kmemdup])]) |