[ovs-git] [openvswitch/ovs] b56b37: compat: Fix upstream 4.4.119 kernel

GitHub noreply at github.com
Wed May 9 02:43:07 UTC 2018


  Branch: refs/heads/branch-2.8
  Home:   https://github.com/openvswitch/ovs
  Commit: b56b37382947264c00025d59129c0e12b3de9091
      https://github.com/openvswitch/ovs/commit/b56b37382947264c00025d59129c0e12b3de9091
  Author: Greg Rose <gvrose8192 at gmail.com>
  Date:   2018-05-08 (Tue, 08 May 2018)

  Changed paths:
    M acinclude.m4
    M datapath/linux/compat/dst_cache.c
    M datapath/linux/compat/include/net/dst_cache.h

  Log Message:
  -----------
  compat: Fix upstream 4.4.119 kernel

The Linux 4.4.119 kernel (and perhaps others) from kernel.org
backports some dst_cache code that breaks the openvswitch kernel
due to a duplicated name "dst_cache_destroy".  For most cases the
"USE_UPSTREAM_TUNNEL" covers this but in this case the dst_cache
feature needs to be separated out.

Add the necessary compatibility detection layer in acinclude.m4 and
then fixup the source files so that if the built-in kernel includes
dst_cache support then exclude our own compatibility code.

Signed-off-by: Greg Rose <gvrose8192 at gmail.com>
Acked-by: Pravin B Shelar <pshelar at ovn.org>



      **NOTE:** This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the git mailing list