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: Backport consume_skb().
[sliver-openvswitch.git]
/
datapath
/
linux-2.6
/
compat-2.6
/
include
/
linux
/
skbuff.h
diff --git
a/datapath/linux-2.6/compat-2.6/include/linux/skbuff.h
b/datapath/linux-2.6/compat-2.6/include/linux/skbuff.h
index
9cd7e1d
..
b728c51
100644
(file)
--- a/
datapath/linux-2.6/compat-2.6/include/linux/skbuff.h
+++ b/
datapath/linux-2.6/compat-2.6/include/linux/skbuff.h
@@
-228,4
+228,8
@@
static inline bool skb_warn_if_lro(const struct sk_buff *skb)
#endif /* NETIF_F_LRO */
#endif /* HAVE_SKB_WARN_LRO */
+#ifndef HAVE_CONSUME_SKB
+#define consume_skb kfree_skb
+#endif
+
#endif