projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
datapath: Check for backported skb_frag_page().
[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 01e524ef717d37c9ea9982e39d1161948e296cf7..7fbe9d81a3136e05c89ef2340ac33956ca116ebd 100644
(file)
--- a/
datapath/linux/compat/include/linux/skbuff.h
+++ b/
datapath/linux/compat/include/linux/skbuff.h
@@
-238,7
+238,7
@@
static inline bool skb_warn_if_lro(const struct sk_buff *skb)
#define consume_skb kfree_skb
#endif
-#if
LINUX_VERSION_CODE < KERNEL_VERSION(3,2,0)
+#if
ndef HAVE_SKB_FRAG_PAGE
static inline struct page *skb_frag_page(const skb_frag_t *frag)
{
return frag->page;