diff options
author | Jesse Gross <jesse@nicira.com> | 2011-06-16 15:14:08 -0700 |
---|---|---|
committer | Jesse Gross <jesse@nicira.com> | 2011-06-16 17:03:29 -0700 |
commit | 82d6256ac9f800f8cbe06cf2be41a7b76ab8b322 (patch) | |
tree | a939cd09e8a47d874d6bf6e460f5b62990c86915 /acinclude.m4 | |
parent | 5ff660c69619505fbcec5041a13493f32d6f014d (diff) |
datapath: Backport consume_skb().
Kernels before 2.6.30 did not implement consume_skb() although RHEL
backports it. For other kernels, this provides a backport.
Signed-off-by: Jesse Gross <jesse@nicira.com>
Acked-by: Ben Pfaff <blp@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 3cf793d4..63a036e3 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -204,6 +204,7 @@ AC_DEFUN([OVS_CHECK_LINUX26_COMPAT], [ [OVS_DEFINE([HAVE_ICMP6_HDR])]) OVS_GREP_IFELSE([$KSRC26/include/linux/skbuff.h], [skb_warn_if_lro], [OVS_DEFINE([HAVE_SKB_WARN_LRO])]) + OVS_GREP_IFELSE([$KSRC26/include/linux/skbuff.h], [consume_skb]) OVS_GREP_IFELSE([$KSRC26/include/linux/string.h], [kmemdup], [], [OVS_GREP_IFELSE([$KSRC26/include/linux/slab.h], [kmemdup])]) |