projects
/
cascardo
/
ovs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
datapath: move make_writable helper into common code
[cascardo/ovs.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
67a14b7
..
fae39a5
100644
(file)
--- a/
datapath/linux/compat/include/linux/skbuff.h
+++ b/
datapath/linux/compat/include/linux/skbuff.h
@@
-324,4
+324,9
@@
static inline void __skb_fill_page_desc(struct sk_buff *skb, int i,
}
#endif
+#ifndef HAVE_SKB_ENSURE_WRITABLE
+#define skb_ensure_writable rpl_skb_ensure_writable
+int skb_ensure_writable(struct sk_buff *skb, int write_len);
+#endif
+
#endif