[ovs-dev,01/15] acinclude: Check for SKB_GSO_UDP

Message ID 1505152570-6143-1-git-send-email-gvrose8192@gmail.com
State New
Headers show
Series
  • [ovs-dev,01/15] acinclude: Check for SKB_GSO_UDP
Related show

Commit Message

Greg Rose Sept. 11, 2017, 5:55 p.m.
Removed in kernel 4.13

Signed-off-by: Greg Rose <gvrose8192@gmail.com>
---
 acinclude.m4 | 3 +++
 1 file changed, 3 insertions(+)

Patch

diff --git a/acinclude.m4 b/acinclude.m4
index aeb594a..0e98ade 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -767,6 +767,9 @@  AC_DEFUN([OVS_CHECK_LINUX_COMPAT], [
                         [OVS_DEFINE([HAVE_VXLAN_DEV_CFG])])
   OVS_GREP_IFELSE([$KSRC/include/net/netfilter/nf_conntrack_helper.h],
                   [nf_conntrack_helper_put])
+  OVS_GREP_IFELSE([$KSRC/include/linux/skbuff.h],[SKB_GSO_UDP],
+                  [OVS_DEFINE([HAVE_SKB_GSO_UDP])])
+
 
   if cmp -s datapath/linux/kcompat.h.new \
             datapath/linux/kcompat.h >/dev/null 2>&1; then