projects
/
cascardo
/
ovs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
gre: Restructure tunneling.
[cascardo/ovs.git]
/
datapath
/
compat.h
diff --git
a/datapath/compat.h
b/datapath/compat.h
index
c7fd225
..
a6a01d5
100644
(file)
--- a/
datapath/compat.h
+++ b/
datapath/compat.h
@@
-94,4
+94,10
@@
static inline void skb_set_mark(struct sk_buff *skb, u32 mark)
}
#endif /* after 2.6.20 */
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,36)
+#define rt_dst(rt) (rt->dst)
+#else
+#define rt_dst(rt) (rt->u.dst)
+#endif
+
#endif /* compat.h */