git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
datapath: Fix build with backported skb_dst().
[sliver-openvswitch.git]
/
datapath
/
linux-2.6
/
compat-2.6
/
include
/
linux
/
skbuff.h
diff --git
a/datapath/linux-2.6/compat-2.6/include/linux/skbuff.h
b/datapath/linux-2.6/compat-2.6/include/linux/skbuff.h
index
e8dc72e
..
5ed0e48
100644
(file)
--- a/
datapath/linux-2.6/compat-2.6/include/linux/skbuff.h
+++ b/
datapath/linux-2.6/compat-2.6/include/linux/skbuff.h
@@
-83,7
+83,7
@@
static inline int skb_clone_writable(struct sk_buff *skb, int len)
}
#endif
-#if
LINUX_VERSION_CODE < KERNEL_VERSION(2,6,31)
+#if
ndef HAVE_SKB_DST_ACCESSOR_FUNCS
static inline struct dst_entry *skb_dst(const struct sk_buff *skb)
{
return (struct dst_entry *)skb->dst;