Explicitly check the availability of several kernel API functions
instead of relying on the kernel version to account for Red Hat
Enterprise Linux backports.
Signed-off-by: Thomas Graf
---
V2:
- Move can_checksum_protocol() back into #ifdef
acinclude.m4| 7 +
On 04/24/2013 12:06 AM, Jesse Gross wrote:
OK, thanks.
I was about to apply this but it adds a new warning (on a non-RHEL platform):
/home/jgross/openvswitch/datapath/linux/netdevice.c:5:13: warning:
‘can_checksum_protocol’ defined but not used [-Wunused-function]
This happens since the code in
On Tue, Apr 23, 2013 at 2:27 PM, Thomas Graf wrote:
> On 04/23/2013 10:42 PM, Jesse Gross wrote:
>>
>> On Fri, Apr 19, 2013 at 7:01 AM, Thomas Graf wrote:
>>>
>>> diff --git a/datapath/linux/compat/include/asm/percpu.h
>>> b/datapath/linux/compat/include/asm/percpu.h
>>> index 404b937..65bce08 10
On 04/23/2013 10:42 PM, Jesse Gross wrote:
On Fri, Apr 19, 2013 at 7:01 AM, Thomas Graf wrote:
diff --git a/datapath/linux/compat/include/asm/percpu.h
b/datapath/linux/compat/include/asm/percpu.h
index 404b937..65bce08 100644
--- a/datapath/linux/compat/include/asm/percpu.h
+++ b/datapath/linu
On Fri, Apr 19, 2013 at 7:01 AM, Thomas Graf wrote:
> diff --git a/datapath/linux/compat/include/asm/percpu.h
> b/datapath/linux/compat/include/asm/percpu.h
> index 404b937..65bce08 100644
> --- a/datapath/linux/compat/include/asm/percpu.h
> +++ b/datapath/linux/compat/include/asm/percpu.h
> @@ -
Explicitly check the availability of several kernel API functions instead
of relying on the kernel version to account for Red Hat Enterprise Linux
backports.
Signed-off-by: Thomas Graf
---
acinclude.m4| 7 +++
datapath/linux/compat/include/asm/percpu.h