Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f58d7866 authored by Gao feng's avatar Gao feng Committed by Pablo Neira Ayuso
Browse files

netfilter: ipt_CLUSTERIP: create proc entry under proper ipt_CLUSTERIP directory



Create proc entries under the ipt_CLUSTERIP directory of proper
net namespace.

Signed-off-by: default avatarGao feng <gaofeng@cn.fujitsu.com>
Signed-off-by: default avatarPablo Neira Ayuso <pablo@netfilter.org>
parent b5ef0f85
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -168,7 +168,7 @@ clusterip_config_init(const struct ipt_clusterip_tgt_info *i, __be32 ip,
			struct net_device *dev)
{
	struct clusterip_config *c;
	struct clusterip_net *cn = net_generic(&init_net, clusterip_net_id);
	struct clusterip_net *cn = net_generic(dev_net(dev), clusterip_net_id);

	c = kzalloc(sizeof(*c), GFP_ATOMIC);
	if (!c)