tunnel: Handle hh_cache access for Linux kernel 3.1
authorPravin B Shelar <pshelar@nicira.com>
Fri, 21 Oct 2011 21:16:59 +0000 (14:16 -0700)
committerPravin B Shelar <pshelar@nicira.com>
Fri, 21 Oct 2011 21:16:59 +0000 (14:16 -0700)
commit6f554ae0093cf8995855158a53593f199ca40459
tree097875f9da91b5a822e75c44ec5742a96712bca1
parentc2310ade7b550da9033963103ff1e318f34e1556
tunnel: Handle hh_cache access for Linux kernel 3.1

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 <pshelar@nicira.com>
Acked-by: Jesse Gross <jesse@nicira.com>
datapath/tunnel.c