Following patch is incremental patch to hash table patch to add compatibility code for RHEL5 kernel. RHEL5 kernel already have all definitions for required for hlist therefore we need compat code fixes.
--- datapath/linux/compat/include/linux/rculist.h | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/datapath/linux/compat/include/linux/rculist.h b/datapath/linux/compat/include/linux/rculist.h index a651363..abd9bb6 100644 --- a/datapath/linux/compat/include/linux/rculist.h +++ b/datapath/linux/compat/include/linux/rculist.h @@ -9,8 +9,9 @@ #include <linux/list.h> #endif -#if LINUX_VERSION_CODE <= KERNEL_VERSION(2,6,26) -static inline void hlist_del_init_rcu(struct hlist_node *n) +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,27) +#define hlist_del_init_rcu rpl_hlist_del_init_rcu +static inline void rpl_hlist_del_init_rcu(struct hlist_node *n) { if (!hlist_unhashed(n)) { __hlist_del(n); -- 1.7.1 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev