Kernel 3.3 to 3.8 has defined `struct flow_keys` but does not contains flow_keys.thoff field. Therefore we need to use compat definition for flow_keys struct.
Signed-off-by: Pravin B Shelar <pshe...@nicira.com> --- datapath/linux/compat/include/net/flow_keys.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/datapath/linux/compat/include/net/flow_keys.h b/datapath/linux/compat/include/net/flow_keys.h index 4de17d1..766b4b3 100644 --- a/datapath/linux/compat/include/net/flow_keys.h +++ b/datapath/linux/compat/include/net/flow_keys.h @@ -3,7 +3,7 @@ #include <linux/version.h> -#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,3,0) +#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,9,0) #include_next <net/flow_keys.h> #else struct flow_keys { -- 1.7.1 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev