OSDN Git Service

netfilter: ipt_CLUSTERIP: make symbol 'cip_netdev_notifier' static
authorWei Yongjun <weiyongjun1@huawei.com>
Sat, 16 Feb 2019 08:16:06 +0000 (08:16 +0000)
committerPablo Neira Ayuso <pablo@netfilter.org>
Sat, 16 Feb 2019 09:43:56 +0000 (10:43 +0100)
commitdddaf89e2fbc69b15e82a96ccd174c70f65bf3d5
treec7341579f043e17d01a43644810d6a5912377395
parent7fc38225363dd8f19e667ad7c77b63bc4a5c065d
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: 5a86d68bcf02 ("netfilter: ipt_CLUSTERIP: fix deadlock in netns exit routine")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/ipv4/netfilter/ipt_CLUSTERIP.c