summaryrefslogtreecommitdiffstats
path: root/include/net/netfilter/nf_conntrack_l3proto.h
diff options
context:
space:
mode:
authorPavel Emelyanov2008-01-09 09:34:02 +0100
committerDavid S. Miller2008-01-29 00:01:11 +0100
commitb3fd3ffe39d830e7c24ef63b7f28703b485da2e3 (patch)
tree2fb8fc3ac2ffb79b481e1e3762da593910ebbe8c /include/net/netfilter/nf_conntrack_l3proto.h
parent[NETFILTER]: Switch to using ctl_paths in nf_queue and conntrack modules (diff)
downloadkernel-qcow2-linux-b3fd3ffe39d830e7c24ef63b7f28703b485da2e3.tar.gz
kernel-qcow2-linux-b3fd3ffe39d830e7c24ef63b7f28703b485da2e3.tar.xz
kernel-qcow2-linux-b3fd3ffe39d830e7c24ef63b7f28703b485da2e3.zip
[NETFILTER]: Use the ctl paths instead of hand-made analogue
The conntracks subsystem has a similar infrastructure to maintain ctl_paths, but since we already have it on the generic level, I think it's OK to switch to using it. So, basically, this patch just replaces the ctl_table-s with ctl_path-s, nf_register_sysctl_table with register_sysctl_paths() and removes no longer needed code. After this the net/netfilter/nf_sysctl.c file contains the paths only. Signed-off-by: Pavel Emelyanov <xemul@openvz.org> Acked-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/netfilter/nf_conntrack_l3proto.h')
-rw-r--r--include/net/netfilter/nf_conntrack_l3proto.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/netfilter/nf_conntrack_l3proto.h b/include/net/netfilter/nf_conntrack_l3proto.h
index 15888fc7b72d..875c6d41eaab 100644
--- a/include/net/netfilter/nf_conntrack_l3proto.h
+++ b/include/net/netfilter/nf_conntrack_l3proto.h
@@ -73,7 +73,7 @@ struct nf_conntrack_l3proto
#ifdef CONFIG_SYSCTL
struct ctl_table_header *ctl_table_header;
- struct ctl_table *ctl_table_path;
+ struct ctl_path *ctl_table_path;
struct ctl_table *ctl_table;
#endif /* CONFIG_SYSCTL */