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

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

Commit Message

Gregory 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(+)

Comments

Andy Zhou Sept. 22, 2017, 7:43 p.m. | #1
On Mon, Sep 11, 2017 at 10:55 AM, Greg Rose <gvrose8192@gmail.com> wrote:
> Removed in kernel 4.13
>
> Signed-off-by: Greg Rose <gvrose8192@gmail.com>

Pushed the series to master with some minor edits.
Patch 2 and 3 of the series are dropped in favor of Tonghao's patch as
per mailing list discussion.

Thanks for the back ports.
Gregory Rose Sept. 22, 2017, 9:19 p.m. | #2
On 09/22/2017 12:43 PM, Andy Zhou wrote:
> On Mon, Sep 11, 2017 at 10:55 AM, Greg Rose <gvrose8192@gmail.com> wrote:
>> Removed in kernel 4.13
>>
>> Signed-off-by: Greg Rose <gvrose8192@gmail.com>
> 
> Pushed the series to master with some minor edits.
> Patch 2 and 3 of the series are dropped in favor of Tonghao's patch as
> per mailing list discussion.

Ah, good deal.

> 
> Thanks for the back ports.
> 

Thanks Andy!

- Greg

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