On Thu, Oct 20, 2011 at 5:31 PM, Pravin B Shelar <pshe...@nicira.com> wrote:
> diff --git a/datapath/tunnel.c b/datapath/tunnel.c
> index b750bbc..274542a 100644
> --- a/datapath/tunnel.c
> +++ b/datapath/tunnel.c
> @@ -93,6 +93,19 @@ static unsigned int remote_ports __read_mostly;
>  #define rt_dst(rt) (rt->u.dst)
>  #endif
>
> +#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,1,0)
> +static inline struct hh_cache *rt_hh(struct rtable *rt)

You don't need to explicitly mark things as inline, the compiler can
figure it out for itself (I know there are other places that do that
in this file but they are wrong too).

Otherwise looks good:
Acked-by: Jesse Gross <je...@nicira.com>
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to