projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
datapath: Fix build breakage on kernel 2.6.40
[openvswitch]
/
datapath
/
linux
/
compat
/
include
/
linux
/
skbuff.h
diff --git
a/datapath/linux/compat/include/linux/skbuff.h
b/datapath/linux/compat/include/linux/skbuff.h
index 311bfdbc60dc7a66bd6ce5d8881ffaf77bb63f18..96d80124f927075a977f61d2994244e4fd3b4320 100644
(file)
--- a/
datapath/linux/compat/include/linux/skbuff.h
+++ b/
datapath/linux/compat/include/linux/skbuff.h
@@
-239,7
+239,7
@@
static inline struct page *skb_frag_page(const skb_frag_t *frag)
}
#endif
-#if LINUX_VERSION_CODE < KERNEL_VERSION(
3,0,
0)
+#if LINUX_VERSION_CODE < KERNEL_VERSION(
2,6,4
0)
static inline void skb_reset_mac_len(struct sk_buff *skb)
{
skb->mac_len = skb->network_header - skb->mac_header;