projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b5ef0f8
)
netfilter: ipt_CLUSTERIP: create proc entry under proper ipt_CLUSTERIP directory
author
Gao feng
<gaofeng@cn.fujitsu.com>
Wed, 25 Sep 2013 07:38:48 +0000
(15:38 +0800)
committer
Pablo Neira Ayuso
<pablo@netfilter.org>
Thu, 17 Oct 2013 08:48:25 +0000
(10:48 +0200)
Create proc entries under the ipt_CLUSTERIP directory of proper
net namespace.
Signed-off-by: Gao feng <gaofeng@cn.fujitsu.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/ipv4/netfilter/ipt_CLUSTERIP.c
patch
|
blob
|
blame
|
history
diff --git
a/net/ipv4/netfilter/ipt_CLUSTERIP.c
b/net/ipv4/netfilter/ipt_CLUSTERIP.c
index b7fc9d5e06df348c720e1501225ba223f1be8055..c93dfd2821acd3e050b6176f6c01abbdf9e93c84 100644
(file)
--- a/
net/ipv4/netfilter/ipt_CLUSTERIP.c
+++ b/
net/ipv4/netfilter/ipt_CLUSTERIP.c
@@
-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)