]> git.proxmox.com Git - mirror_ovs.git/commit - acinclude.m4
compat: Fix RHEL 7 compile
authorGreg Rose <gvrose8192@gmail.com>
Mon, 26 Feb 2018 22:10:15 +0000 (14:10 -0800)
committerPravin B Shelar <pshelar@ovn.org>
Wed, 28 Feb 2018 03:45:19 +0000 (19:45 -0800)
commitb3e647cae4489769979e66ff1b6efa890eefb9b2
tree8d95da9bda8b4e1da924891948d810f07dcd13a5
parent6a6ee1e9a56ec8409f9c7bfdcfd131584ead8cd7
compat: Fix RHEL 7 compile

frag_percpu_counter_batch is a variable, not a define, so checking if
it is defined is an error and causes warning messages during compile
on RHEL 7 (or other 3.10 based) builds.  Use a compat #define from
acinclude.m4 instead.

Fixes: 64d8cb7295 ("compat:inet_frag.h: Check for frag_percpu_counter_batch")
Signed-off-by: Greg Rose <gvrose8192@gmail.com>
Acked-by: Pravin B Shelar <pshelar@ovn.org>
acinclude.m4
datapath/linux/compat/include/net/inet_frag.h