提交 c121ff39 编写于 作者: D Dmitry Kozlov

ipoe: rename __kfree_rcu to ipoe_kfree_rcu due to conflict with kernel's symbol

上级 33bdf407
...@@ -166,7 +166,7 @@ static void ipoe_update_stats(struct sk_buff *skb, struct ipoe_stats *st, int co ...@@ -166,7 +166,7 @@ static void ipoe_update_stats(struct sk_buff *skb, struct ipoe_stats *st, int co
#endif #endif
#if LINUX_VERSION_CODE < KERNEL_VERSION(3,0,0) #if LINUX_VERSION_CODE < KERNEL_VERSION(3,0,0)
static void __kfree_rcu(struct rcu_head *head) static void ipoe_kfree_rcu(struct rcu_head *head)
{ {
kfree(head); kfree(head);
} }
...@@ -659,7 +659,7 @@ nl_err: ...@@ -659,7 +659,7 @@ nl_err:
#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,0,0) #if LINUX_VERSION_CODE >= KERNEL_VERSION(3,0,0)
kfree_rcu(e, rcu_head); kfree_rcu(e, rcu_head);
#else #else
call_rcu(&e->rcu_head, __kfree_rcu); call_rcu(&e->rcu_head, ipoe_kfree_rcu);
#endif #endif
} }
...@@ -1547,7 +1547,7 @@ static int ipoe_nl_cmd_del_net(struct sk_buff *skb, struct genl_info *info) ...@@ -1547,7 +1547,7 @@ static int ipoe_nl_cmd_del_net(struct sk_buff *skb, struct genl_info *info)
#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,0,0) #if LINUX_VERSION_CODE >= KERNEL_VERSION(3,0,0)
kfree_rcu(n, rcu_head); kfree_rcu(n, rcu_head);
#else #else
call_rcu(&n->rcu_head, __kfree_rcu); call_rcu(&n->rcu_head, ipoe_kfree_rcu);
#endif #endif
} }
} }
...@@ -1596,7 +1596,7 @@ static int ipoe_nl_cmd_del_interface(struct sk_buff *skb, struct genl_info *info ...@@ -1596,7 +1596,7 @@ static int ipoe_nl_cmd_del_interface(struct sk_buff *skb, struct genl_info *info
#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,0,0) #if LINUX_VERSION_CODE >= KERNEL_VERSION(3,0,0)
kfree_rcu(i, rcu_head); kfree_rcu(i, rcu_head);
#else #else
call_rcu(&i->rcu_head, __kfree_rcu); call_rcu(&i->rcu_head, ipoe_kfree_rcu);
#endif #endif
} }
} }
...@@ -1735,7 +1735,7 @@ static int ipoe_nl_cmd_del_vlan_mon(struct sk_buff *skb, struct genl_info *info) ...@@ -1735,7 +1735,7 @@ static int ipoe_nl_cmd_del_vlan_mon(struct sk_buff *skb, struct genl_info *info)
#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,0,0) #if LINUX_VERSION_CODE >= KERNEL_VERSION(3,0,0)
kfree_rcu(d, rcu_head); kfree_rcu(d, rcu_head);
#else #else
call_rcu(&d->rcu_head, __kfree_rcu); call_rcu(&d->rcu_head, ipoe_kfree_rcu);
#endif #endif
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册