On Wed, Nov 23, 2011 at 1:58 AM, Zhi Yong Wu <zwu.ker...@gmail.com> wrote:
> diff --git a/datapath/linux/compat/include/linux/skbuff.h 
> b/datapath/linux/compat/include/linux/skbuff.h
> index 311bfdb..22ba2e6 100644
> --- a/datapath/linux/compat/include/linux/skbuff.h
> +++ b/datapath/linux/compat/include/linux/skbuff.h
> @@ -239,7 +239,7 @@ static inline struct page *skb_frag_page(const skb_frag_t 
> *frag)
>  }
>  #endif
>
> -#if LINUX_VERSION_CODE < KERNEL_VERSION(3,0,0)
> +#ifndef HAVE_SKB_RESET_MAC_LEN

2.6.40 is the early name for 3.0.  Does it work if you just replace
the check with KERNEL_VERSION(2,6,40)?
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to