[ovs-dev] [PATCH 0/6] Enable OVS on Linux 4.14 kernel

Greg Rose gvrose8192 at gmail.com
Wed Dec 6 00:01:15 UTC 2017


Various fixes and compat layer changes required to enable building
OVS for the upstream Linux 4.14 kernel.

The constant changing of the netdev_master_upper_dev_link parameters
is a real headache.  I couldn't think of any cleaner way to do it
than the approach I used but I welcome suggestions on how to make
that code less ugly - because it's ten miles of bad road ugly.
But it does compile and pass basic checks on all of the currently
supported kernels.

There's more fixes for SKB_GSO_UDP - I'm not sure why these don't
show up for the 4.13 or previous kernels but I think it has to do
with the recent change to make sure the SKB_GSO_UDP was searched
as a whole word and thus exposed more fractures.

I updated .travis.yml to use all the most recent supported LTS
and stable kernels from kernel.org.

Greg Rose (6):
  datapath: Fix netdev_master_upper_dev_link for 4.14
  compat: Do not include headers when not compiling
  datapath: Constify struct nf_conntrack_l4proto
  datapath: Fix SKB_GSO_UDP usage
  acinclude.m4: Enable Linux 4.14
  travis: Update kernel test list from kernel.org

 .travis.yml                                     | 17 ++++++++---------
 acinclude.m4                                    |  7 +++++--
 datapath/conntrack.c                            |  2 +-
 datapath/datapath.c                             |  9 ++++++---
 datapath/linux/compat/include/linux/netdevice.h | 15 ++++++++++++++-
 datapath/linux/compat/ip_gre.c                  |  2 +-
 datapath/linux/compat/ip_output.c               |  2 +-
 datapath/linux/compat/stt.c                     | 11 ++++++++++-
 datapath/vport-netdev.c                         |  9 ++++++++-
 9 files changed, 54 insertions(+), 20 deletions(-)

-- 
1.8.3.1



More information about the dev mailing list