On Tue, 10 Nov 2020 14:28:06 +0800 we...@ucloud.cn wrote:
> +static int (*tcf_xmit_hook)(struct sk_buff *skb,
> +                         int (*xmit)(struct sk_buff *skb));

missing the rcu annotation on this

net/sched/act_api.c:35:17: error: incompatible types in comparison expression 
(different address spaces):
net/sched/act_api.c:35:17:    int ( [noderef] __rcu * )( ... )
net/sched/act_api.c:35:17:    int ( * )( ... )
net/sched/act_api.c:52:17: error: incompatible types in comparison expression 
(different address spaces):
net/sched/act_api.c:52:17:    int ( [noderef] __rcu * )( ... )
net/sched/act_api.c:52:17:    int ( * )( ... )
net/sched/act_api.c:64:21: error: incompatible types in comparison expression 
(different address spaces):
net/sched/act_api.c:64:21:    int ( [noderef] __rcu * )( ... )
net/sched/act_api.c:64:21:    int ( * )( ... )

Reply via email to