[ovs-dev] [PATCH] compat: Substitute more dependable define

Ben Pfaff blp at ovn.org
Tue Aug 14 00:48:15 UTC 2018


On Mon, Aug 13, 2018 at 04:00:16PM -0700, Greg Rose wrote:
> 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>

Seems reasonable.  Applied to master and branch-2.10.


More information about the dev mailing list