[ovs-git] [openvswitch/ovs] 0e3105: compat: Substitute more dependable define
GitHub
noreply at github.com
Tue Aug 14 00:48:05 UTC 2018
Branch: refs/heads/branch-2.10
Home: https://github.com/openvswitch/ovs
Commit: 0e3105732d36476143dbc85370ec172205b35265
https://github.com/openvswitch/ovs/commit/0e3105732d36476143dbc85370ec172205b35265
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