]> git.openfabrics.org - ~emulex/for-vlad/old/compat.git/commitdiff
compat: backport IPV4_FLOW and IPV6_FLOW
authorVipul Pandya <vipul@chelsio.com>
Thu, 10 May 2012 12:28:33 +0000 (17:58 +0530)
committerVipul Pandya vipul@chelsio.com <vipulp@openfabrics.org>
Tue, 15 May 2012 15:16:51 +0000 (08:16 -0700)
Signed-off-by: Vipul Pandya <vipul@chelsio.com>
include/linux/compat-2.6.33.h

index d629e4cfe1cbaddd9f4a13b24be13c51fa563f79..24e9c28eb527dc57f8c95d3dbdba08d9bfb5bd67 100644 (file)
@@ -170,6 +170,9 @@ static inline long __must_check IS_ERR_OR_NULL(const void *ptr)
 #define for_each_netdev_rcu(net, d)             \
                 list_for_each_entry_rcu(d, &(net)->dev_base_head, dev_list)
 
+#define IPV4_FLOW               0x10    /* hash only */
+#define IPV6_FLOW               0x11    /* hash only */
+
 #endif /* (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,33)) */
 
 #endif /* LINUX_26_33_COMPAT_H */