Re: [ovs-dev] [PATCH 2/3] tunnel: Handle hh_cache access for Linux kernel 3.1

2011-10-21 Thread Jesse Gross
On Thu, Oct 20, 2011 at 5:31 PM, Pravin B Shelar 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) >

[ovs-dev] [PATCH 2/3] tunnel: Handle hh_cache access for Linux kernel 3.1

2011-10-20 Thread Pravin B Shelar
>From 3.1 kernel, struct dst_entry no longer has direct ref to hh_cache. Following patch handles this case. Signed-off-by: Pravin Shelar --- datapath/tunnel.c | 17 +++-- 1 files changed, 15 insertions(+), 2 deletions(-) diff --git a/datapath/tunnel.c b/datapath/tunnel.c index b75