On Mon, May 13, 2013 at 2:19 PM, Jesse Gross <je...@nicira.com> wrote:
> On Mon, May 13, 2013 at 2:07 PM, Pravin B Shelar <pshe...@nicira.com> wrote:
>> diff --git a/datapath/linux/compat/include/linux/types.h 
>> b/datapath/linux/compat/include/linux/types.h
>> index b989d96..4b953f2 100644
>> --- a/datapath/linux/compat/include/linux/types.h
>> +++ b/datapath/linux/compat/include/linux/types.h
>> @@ -1,12 +1,15 @@
>>  #ifndef __LINUX_TYPES_WRAPPER_H
>>  #define __LINUX_TYPES_WRAPPER_H 1
>>
>> +#include <linux/version.h>
>>  #include_next <linux/types.h>
>>
>> +#if LINUX_VERSION_CODE < KERNEL_VERSION(3,7,0)
>>  #ifndef HAVE_CSUM_TYPES
>>  typedef __u16 __bitwise __sum16;
>>  typedef __u32 __bitwise __wsum;
>>  #endif
>> +#endif
>
> Why isn't this picked up by the configure check?
because definition is moved to KSRC/include/uapi/linux/types.h.

I had this change as part of patch - "datapath: Integration with
upstream kernel tunneling" where I updated config script, But you
suggested to use version check. Am I missing something?

ref:http://openvswitch.org/pipermail/dev/2013-April/026400.html
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to