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: Check for Centos 6.4 backports.
[sliver-openvswitch.git]
/
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
7fbe9d8
..
d485b39
100644
(file)
--- a/
datapath/linux/compat/include/linux/skbuff.h
+++ b/
datapath/linux/compat/include/linux/skbuff.h
@@
-245,7
+245,7
@@
static inline struct page *skb_frag_page(const skb_frag_t *frag)
}
#endif
-#if
LINUX_VERSION_CODE < KERNEL_VERSION(2,6,40)
+#if
ndef HAVE_SKB_RESET_MAC_LEN
static inline void skb_reset_mac_len(struct sk_buff *skb)
{
skb->mac_len = skb->network_header - skb->mac_header;