datapath: IFF_OVS_DATAPATH will exist in in 2.6.37
[sliver-openvswitch.git] / datapath / linux-2.6 / compat-2.6 / include / linux / if.h
index 2fd629c..43128b7 100644 (file)
 
 #endif /* linux kernel < 2.6.31 */
 
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,36)
-/* XXX: Change to a unique value after merge */
+#if LINUX_VERSION_CODE == KERNEL_VERSION(2,6,36)
 #define IFF_OVS_DATAPATH IFF_BRIDGE_PORT
-#else
+#elif LINUX_VERSION_CODE < KERNEL_VERSION(2,6,36)
 #define IFF_OVS_DATAPATH 0             /* no-op flag */
 #endif