[ovs-git] [openvswitch/ovs] 44a629: compat: Substitute more dependable define

GitHub noreply at github.com
Tue Aug 14 00:47:57 UTC 2018

  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 44a629b5b80b4b37f99bc5631dee8bb055940329
  Author: Greg Rose <gvrose8192 at gmail.com>
  Date:   2018-08-13 (Mon, 13 Aug 2018)

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

  Log Message:
  compat: Substitute more dependable define

The compat layer ip_tunnel_get_stats64 function was checking for the
Linux kernel version to determine if the return was void or a pointer.
This is not very reliable and caused compile warnings on SLES 12 SP3.
In acinclude.m4 create a more reliable method of determining when to
use a void return vs. a pointer return.

Signed-off-by: Greg Rose <gvrose8192 at gmail.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>

      **NOTE:** This service has 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