projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
dpif-netdev: Allow for Ethernet and VLAN header in buffer size calculation.
[openvswitch]
/
datapath
/
linux-2.6
/
compat-2.6
/
include
/
linux
/
if.h
diff --git
a/datapath/linux-2.6/compat-2.6/include/linux/if.h
b/datapath/linux-2.6/compat-2.6/include/linux/if.h
index 0aa9ee35f071d3a3bf4ac8a09babc08f45774afe..43128b763362c8f7d613c02ce909fc3681fc325d 100644
(file)
--- a/
datapath/linux-2.6/compat-2.6/include/linux/if.h
+++ b/
datapath/linux-2.6/compat-2.6/include/linux/if.h
@@
-10,4
+10,10
@@
#endif /* linux kernel < 2.6.31 */
+#if LINUX_VERSION_CODE == KERNEL_VERSION(2,6,36)
+#define IFF_OVS_DATAPATH IFF_BRIDGE_PORT
+#elif LINUX_VERSION_CODE < KERNEL_VERSION(2,6,36)
+#define IFF_OVS_DATAPATH 0 /* no-op flag */
+#endif
+
#endif