Commit dddaf89e authored by Wei Yongjun's avatar Wei Yongjun Committed by Pablo Neira Ayuso
Browse files

netfilter: ipt_CLUSTERIP: make symbol 'cip_netdev_notifier' static



Fixes the following sparse warnings:

net/ipv4/netfilter/ipt_CLUSTERIP.c:867:23: warning:
 symbol 'cip_netdev_notifier' was not declared. Should it be static?

Fixes: 5a86d68b ("netfilter: ipt_CLUSTERIP: fix deadlock in netns exit routine")
Signed-off-by: default avatarWei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: default avatarPablo Neira Ayuso <pablo@netfilter.org>
parent 7fc38225
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -864,7 +864,7 @@ static struct pernet_operations clusterip_net_ops = {
	.size = sizeof(struct clusterip_net),
};

struct notifier_block cip_netdev_notifier = {
static struct notifier_block cip_netdev_notifier = {
	.notifier_call = clusterip_netdev_event
};