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: Add support for Linux 3.12
[sliver-openvswitch.git]
/
datapath
/
linux
/
compat
/
gso.c
diff --git
a/datapath/linux/compat/gso.c
b/datapath/linux/compat/gso.c
index
32f906c
..
9ded17c
100644
(file)
--- a/
datapath/linux/compat/gso.c
+++ b/
datapath/linux/compat/gso.c
@@
-16,6
+16,9
@@
* 02110-1301, USA
*/
+#include <linux/version.h>
+#if LINUX_VERSION_CODE < KERNEL_VERSION(3,12,0)
+
#include <linux/module.h>
#include <linux/if.h>
#include <linux/if_tunnel.h>
@@
-229,3
+232,4
@@
int rpl_ip_local_out(struct sk_buff *skb)
}
return ret;
}
+#endif /* 3.12 */