git://git.onelab.eu
/
sliver-openvswitch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c622970
)
datapath: Backport skb_has_frag_list().
author
Jesse Gross
<jesse@nicira.com>
Tue, 17 Dec 2013 02:05:01 +0000
(18:05 -0800)
committer
Jesse Gross
<jesse@nicira.com>
Tue, 17 Dec 2013 02:07:30 +0000
(18:07 -0800)
Signed-off-by: Jesse Gross <jesse@nicira.com>
datapath/linux/compat/include/linux/skbuff.h
patch
|
blob
|
history
diff --git
a/datapath/linux/compat/include/linux/skbuff.h
b/datapath/linux/compat/include/linux/skbuff.h
index
be134d7
..
5bea83e
100644
(file)
--- a/
datapath/linux/compat/include/linux/skbuff.h
+++ b/
datapath/linux/compat/include/linux/skbuff.h
@@
-264,4
+264,9
@@
void skb_zerocopy(struct sk_buff *to, const struct sk_buff *from, int len,
int hlen);
#endif
+
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,37)
+#define skb_has_frag_list skb_has_frags
+#endif
+
#endif