diff options
author | Jesse Gross <jesse@nicira.com> | 2010-05-06 12:31:43 -0700 |
---|---|---|
committer | Jesse Gross <jesse@nicira.com> | 2010-05-06 13:15:21 -0700 |
commit | 14cf356bf27c3c7e52a1f8fe3d7f0ffcb19af7fb (patch) | |
tree | 7c922eff477a12f47107e26447677f6e5466dae8 /acinclude.m4 | |
parent | 30ea5d93dc1258c59e3ebbe090169cd3bf9ef078 (diff) |
datapath: Add configure test for skb_warn_if_lro().
Some distributions backport this function, so use a configure
test instead of a version check.
CC: Alexey I. Froloff <raorn@altlinux.org>
Diffstat (limited to 'acinclude.m4')
-rw-r--r-- | acinclude.m4 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/acinclude.m4 b/acinclude.m4 index 64384d90..e52a884d 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -164,6 +164,8 @@ AC_DEFUN([OVS_CHECK_LINUX26_COMPAT], [ [OVS_DEFINE([HAVE_IPV4_IS_MULTICAST])]) OVS_GREP_IFELSE([$KSRC26/include/linux/string.h $KSRC26/include/linux/slab.h], [kmemdup], [OVS_DEFINE([HAVE_KMEMDUP])]) + OVS_GREP_IFELSE([$KSRC26/include/linux/skbuff.h], [skb_warn_if_lro], + [OVS_DEFINE([HAVE_SKB_WARN_LRO])]) # Check for the proto_data_valid member in struct sk_buff. The [^@] # is necessary because some versions of this header remove the # member but retain the kerneldoc comment that describes it (which |