OpenVZ Forum - RDF feed
type: channel
items: [PATCH net-2.6.25 0/6] Use ctl paths in the networking code.
items: [PATCH net-2.6.25 1/6][NET] Simple ctl_table to ctl_path conversions.
items: [PATCH net-2.6.25 2/6][IPVS] Switch to using ctl_paths.
items: [PATCH net-2.6.25 3/6][DECNET] Switch to using ctl_paths.
items: [PATCH net-2.6.25 4/6][AX25] Switch to using ctl_paths.
items: [PATCH net-2.6.25 5/6][NETFILTER] Switch to using ctl_paths in nf_queue and conntrack modules
items: [PATCH net-2.6.25 6/6][NETFILTER] Use the ctl paths instead of hand-made analogue
items: Re: [PATCH net-2.6.25 5/6][NETFILTER] Switch to using ctl_paths in nf_queue and conntrack modules
items: Re: [PATCH net-2.6.25 6/6][NETFILTER] Use the ctl paths instead of hand-made analogue
items: Re: [PATCH net-2.6.25 2/6][IPVS] Switch to using ctl_paths.
items: Re: [PATCH net-2.6.25 1/6][NET] Simple ctl_table to ctl_path conversions.
items: Re: [PATCH net-2.6.25 3/6][DECNET] Switch to using ctl_paths.
items: Re: [PATCH net-2.6.25 4/6][AX25] Switch to using ctl_paths.

[PATCH net-2.6.25 0/6] Use ctl paths in the networking code.
type: item
description: This set almost completes the ctl paths usage in the networking code. The first patches doing this were accepted in the last year :), but they tuned only core, ipv4 and ipv6. I thought, that splitting this into many subsystem would produce too many patches, so I splitted it so, that most subsystems that are patched in a very similar way are merged into one patch to make the review easier. Hope this is OK. After this set the vmlinux size becomes almost 4Kb less (when all patched files are built-in): add/remove: 16/40 grow/shrink: 18/6 up/down: 486/-4394 (-3908) function old new delta net_vs_ctl_path - 32 +32 dccp_path - 32 +32 x25_path - 24 +24 sctp_path - 24 +24 rose_path - 24 +24 nr_path - 24 +24 net_ipv6_ctl_path - 24 +24 net_ipv4_ctl_path - 24 +24 llc_path - 24 +24 irda_path - 24 +24 ipx_path - 24 +24 dn_path - 24 +24 brnf_path - 24 +24 ax25_path - 24 +24 atalk_path - 24 +24 nf_ct_path - 16 +16 dn_dev_sysctl_register 164 173 +9 x25_register_sysctl 16 21 +5 sctp_sysctl_register 16 21 +5 rose_register_sysctl 16 21 +5 nr_register_sysctl 16 21 +5 nf_conntrack_standalone_init 166 171 +5 llc_sysctl_init 24 29 +5 irda_sysctl_register 24 29 +5 ipx_register_sysctl 16 21 +5 ip_vs_lblcr_init 66 71 +5 ip_vs_control_init 209 214 +5 ip_queue_init 288 293 +5 ip6_queue_init 288 293 +5 dn_register_sysctl 16 21 +5 dccp_sysctl_init 24 29 +5 br_netfilter_init 91 96 +5 atalk_register_sysctl 16 21 +5 ax25_register_sysctl 294 290 -4 ax25_unregister_sysctl 56 46 -10 nf_unregister_sysctl_table 19 - -19 net_ipv4_path 48 24 -24 ipv6_ctl_path 24 - -24 path_free 27 - -27 nf_net_ipv4_netfilter_sysctl_path 88 32 -56 nf_net_netfilter_sysctl_path 88 24 -64 x25_root_table 88 - -88 x25_dir_table 88 - -88 vs_root_table 88 - -88 sctp_root_table 88 - -88 sctp_net_table 88 - -88 rose_root_table 88 - -88 rose_dir_table 88 - -88 nr_root_table 88 - -88 nr_dir_table 88 - -88 nf_net_netfilter_table 88 - -88 nf_net_ipv4_table 88 - -88 nf_net_ipv4_netfilter_table 88 - -88 nf_ct_net_table 88 - -88 llc_root_ta…
creator: Pavel Emelianov
date: 2008-01-08T15:49:55-00:00

[PATCH net-2.6.25 1/6][NET] Simple ctl_table to ctl_path conversions.
type: item
description: This patch includes many places, that only required replacing the ctl_table-s with appropriate ctl_paths and call register_sysctl_paths(). Nothing special was done with them. Signed-off-by: Pavel Emelyanov <xemul@openvz.org> --- net/appletalk/sysctl_net_atalk.c | 24 +++++------------------- net/bridge/br_netfilter.c | 24 +++++------------------- net/dccp/sysctl.c | 36 +++++++----------------------------- net/ipx/sysctl_net_ipx.c | 24 +++++------------------- net/irda/irsysctl.c | 28 +++++----------------------- net/llc/sysctl_net_llc.c | 24 +++++------------------- net/netrom/sysctl_net_netrom.c | 24 +++++------------------- net/rose/sysctl_net_rose.c | 24 +++++------------------- net/sctp/sysctl.c | 24 +++++------------------- net/x25/sysctl_net_x25.c | 24 +++++------------------- 10 files changed, 52 insertions(+), 204 deletions(-) diff --git a/net/appletalk/sysctl_net_atalk.c b/net/appletalk/sysctl_net_atalk.c index 7df1778..621805d 100644 --- a/net/appletalk/sysctl_net_atalk.c +++ b/net/appletalk/sysctl_net_atalk.c @@ -49,31 +49,17 @@ static struct ctl_table atalk_table[] = { { 0 }, }; -static struct ctl_table atalk_dir_table[] = { - { - .ctl_name = NET_ATALK, - .procname = "appletalk", - .mode = 0555, - .child = atalk_table, - }, - { 0 }, -}; - -static struct ctl_table atalk_root_table[] = { - { - .ctl_name = CTL_NET, - .procname = "net", - .mode = 0555, - .child = atalk_dir_table, - }, - { 0 }, +static struct ctl_path atalk_path[] = { + { .procname = "net", .ctl_name = CTL_NET, }, + { .procname = "appletalk", .ctl_name = NET_ATALK, }, + { } }; static struct ctl_table_header *atalk_table_header; void atalk_register_sysctl(void) { - atalk_table_header = register_sysctl_table(atalk_root_table); + atalk_table_header = register_sysctl_paths(atalk_path, atalk_table); } void atalk_unregister_sysctl(void) diff --git a/net/bridge/br_netfilter.c b/net/bridge/br_netfilter.c index 32ac035..91a180a 100644 --- a/net/bridge/br_netfilter.c +++ b/net/bridge/br_netfilter.c @@ -…
creator: Pavel Emelianov
date: 2008-01-08T15:52:34-00:00

[PATCH net-2.6.25 2/6][IPVS] Switch to using ctl_paths.
type: item
description: The feature of ipvs ctls is that the net/ipv4/vs path is common for core ipvs ctls and for two schedulers, so I make it exported and re-use it in modules. Two other .c files required linux/sysctl.h to make the extern declaration of this path compile well. Signed-off-by: Pavel Emelyanov <xemul@openvz.org> --- include/net/ip_vs.h | 1 + net/ipv4/ipvs/ip_vs_ctl.c | 35 +++++++---------------------------- net/ipv4/ipvs/ip_vs_est.c | 1 + net/ipv4/ipvs/ip_vs_lblc.c | 31 +------------------------------ net/ipv4/ipvs/ip_vs_lblcr.c | 31 +------------------------------ net/ipv4/ipvs/ip_vs_sched.c | 1 + 6 files changed, 12 insertions(+), 88 deletions(-) diff --git a/include/net/ip_vs.h b/include/net/ip_vs.h index 3de6d1e..02ab7ca 100644 --- a/include/net/ip_vs.h +++ b/include/net/ip_vs.h @@ -854,6 +854,7 @@ extern int sysctl_ip_vs_expire_quiescent_template; extern int sysctl_ip_vs_sync_threshold[2]; extern int sysctl_ip_vs_nat_icmp_send; extern struct ip_vs_stats ip_vs_stats; +extern struct ctl_path net_vs_ctl_path[]; extern struct ip_vs_service * ip_vs_service_get(__u32 fwmark, __u16 protocol, __be32 vaddr, __be16 vport); diff --git a/net/ipv4/ipvs/ip_vs_ctl.c b/net/ipv4/ipvs/ip_vs_ctl.c index 693d924..9fecfe7 100644 --- a/net/ipv4/ipvs/ip_vs_ctl.c +++ b/net/ipv4/ipvs/ip_vs_ctl.c @@ -1591,34 +1591,13 @@ static struct ctl_table vs_vars[] = { { .ctl_name = 0 } }; -static ctl_table vs_table[] = { - { - .procname = "vs", - .mode = 0555, - .child = vs_vars - }, - { .ctl_name = 0 } -}; - -static ctl_table ipvs_ipv4_table[] = { - { - .ctl_name = NET_IPV4, - .procname = "ipv4", - .mode = 0555, - .child = vs_table, - }, - { .ctl_name = 0 } -}; - -static ctl_table vs_root_table[] = { - { - .ctl_name = CTL_NET, - .procname = "net", - .mode = 0555, - .child = ipvs_ipv4_table, - }, - { .ctl_name = 0 } +struct ctl_path net_vs_ctl_path[] = { + { .procname = "net", .ctl_name = CTL_NET, }, + { .procname = "ipv4", .ctl_name = NET_IPV4, }, + { .procname = "vs", }, + { } }; +EXPORT_SYMBOL_GPL(net_…
creator: Pavel Emelianov
date: 2008-01-08T15:55:48-00:00

[PATCH net-2.6.25 3/6][DECNET] Switch to using ctl_paths.
type: item
description: The decnet includes two places to patch. The first one is the net/decnet table itself, and it is patched just like other subsystems in the first patch in this series. The second place is a bit more complex - it is the net/decnet/conf/xxx entries,. similar to those in ipv4/devinet.c and ipv6/addrconf.c. This code is made similar to those in ipv[46]. Signed-off-by: Pavel Emelyanov <xemul@openvz.org> --- net/decnet/dn_dev.c | 52 +++++++++++------------------------------ net/decnet/sysctl_net_decnet.c | 23 +++--------------- 2 files changed, 20 insertions(+), 55 deletions(-) diff --git a/net/decnet/dn_dev.c b/net/decnet/dn_dev.c index 39c89c6..fb884e5 100644 --- a/net/decnet/dn_dev.c +++ b/net/decnet/dn_dev.c @@ -173,10 +173,6 @@ static int dn_forwarding_sysctl(ctl_table *table, int __user *name, int nlen, static struct dn_dev_sysctl_table { struct ctl_table_header *sysctl_header; ctl_table dn_dev_vars[5]; - ctl_table dn_dev_dev[2]; - ctl_table dn_dev_conf_dir[2]; - ctl_table dn_dev_proto_dir[2]; - ctl_table dn_dev_root_dir[2]; } dn_dev_sysctl = { NULL, { @@ -224,30 +220,6 @@ static struct dn_dev_sysctl_table { }, {0} }, - {{ - .ctl_name = 0, - .procname = "", - .mode = 0555, - .child = dn_dev_sysctl.dn_dev_vars - }, {0}}, - {{ - .ctl_name = NET_DECNET_CONF, - .procname = "conf", - .mode = 0555, - .child = dn_dev_sysctl.dn_dev_dev - }, {0}}, - {{ - .ctl_name = NET_DECNET, - .procname = "decnet", - .mode = 0555, - .child = dn_dev_sysctl.dn_dev_conf_dir - }, {0}}, - {{ - .ctl_name = CTL_NET, - .procname = "net", - .mode = 0555, - .child = dn_dev_sysctl.dn_dev_proto_dir - }, {0}} }; static void dn_dev_sysctl_register(struct net_device *dev, struct dn_dev_parms *parms) @@ -255,6 +227,16 @@ static void dn_dev_sysctl_register(struct net_device *dev, struct dn_dev_parms * struct dn_dev_sysctl_table *t; int i; +#define DN_CTL_PATH_DEV 3 + + struct ctl_path dn_ctl_path[] = { + { .procname = "net", .ctl_name = CTL_NET, }, + { .procname = "decnet", .ctl_name = NET_DECNET, }, + { .…
creator: Pavel Emelianov
date: 2008-01-08T15:59:59-00:00

[PATCH net-2.6.25 4/6][AX25] Switch to using ctl_paths.
type: item
description: This one is almost the same as the hunks in the first patch, but ax25 tables are created dynamically. So this patch differs a bit to handle this case. Signed-off-by: Pavel Emelyanov <xemul@openvz.org> --- net/ax25/sysctl_net_ax25.c | 27 +++++---------------------- 1 files changed, 5 insertions(+), 22 deletions(-) diff --git a/net/ax25/sysctl_net_ax25.c b/net/ax25/sysctl_net_ax25.c index 443a836..f597987 100644 --- a/net/ax25/sysctl_net_ax25.c +++ b/net/ax25/sysctl_net_ax25.c @@ -31,25 +31,11 @@ static struct ctl_table_header *ax25_table_header; static ctl_table *ax25_table; static int ax25_table_size; -static ctl_table ax25_dir_table[] = { - { - .ctl_name = NET_AX25, - .procname = "ax25", - .mode = 0555, - }, - { .ctl_name = 0 } -}; - -static ctl_table ax25_root_table[] = { - { - .ctl_name = CTL_NET, - .procname = "net", - .mode = 0555, - .child = ax25_dir_table - }, - { .ctl_name = 0 } +static struct ctl_path ax25_path[] = { + { .procname = "net", .ctl_name = CTL_NET, }, + { .procname = "ax25", .ctl_name = NET_AX25, }, + { } }; - static const ctl_table ax25_param_table[] = { { .ctl_name = NET_AX25_IP_DEFAULT_MODE, @@ -243,9 +229,7 @@ void ax25_register_sysctl(void) } spin_unlock_bh(&ax25_dev_lock); - ax25_dir_table[0].child = ax25_table; - - ax25_table_header = register_sysctl_table(ax25_root_table); + ax25_table_header = register_sysctl_paths(ax25_path, ax25_table); } void ax25_unregister_sysctl(void) @@ -253,7 +237,6 @@ void ax25_unregister_sysctl(void) ctl_table *p; unregister_sysctl_table(ax25_table_header); - ax25_dir_table[0].child = NULL; for (p = ax25_table; p->ctl_name; p++) kfree(p->child); kfree(ax25_table);
creator: Pavel Emelianov
date: 2008-01-08T16:03:00-00:00

[PATCH net-2.6.25 5/6][NETFILTER] Switch to using ctl_paths in nf_queue and conntrack modules
type: item
description: This includes the most simple cases for netfilter. The first part is tne queue modules for ipv4 and ipv6, on which the net/ipv4/ and net/ipv6/ paths are reused from the appropriate ipv4 and ipv6 code. The conntrack module is also patched, but this hunk is very small and simple. Signed-off-by: Pavel Emelyanov <xemul@openvz.org> --- diff --git a/include/net/ip.h b/include/net/ip.h index 8be48c8..2ad4d2f 100644 --- a/include/net/ip.h +++ b/include/net/ip.h @@ -177,6 +177,8 @@ extern void inet_get_local_port_range(int *low, int *high); extern int sysctl_ip_default_ttl; extern int sysctl_ip_nonlocal_bind; +extern struct ctl_path net_ipv4_ctl_path[]; + /* From ip_fragment.c */ struct inet_frags_ctl; extern struct inet_frags_ctl ip4_frags_ctl; diff --git a/include/net/ipv6.h b/include/net/ipv6.h index f2adedf..e371f32 100644 --- a/include/net/ipv6.h +++ b/include/net/ipv6.h @@ -112,6 +112,8 @@ struct frag_hdr { extern int sysctl_ipv6_bindv6only; extern int sysctl_mld_max_msf; +extern struct ctl_path net_ipv6_ctl_path[]; + #define _DEVINC(statname, modifier, idev, field) \ ({ \ struct inet6_dev *_idev = (idev); \ diff --git a/net/ipv4/netfilter/ip_queue.c b/net/ipv4/netfilter/ip_queue.c index 68b12ce..7361315 100644 --- a/net/ipv4/netfilter/ip_queue.c +++ b/net/ipv4/netfilter/ip_queue.c @@ -29,6 +29,7 @@ #include <net/sock.h> #include <net/route.h> #include <net/netfilter/nf_queue.h> +#include <net/ip.h> #define IPQ_QMAX_DEFAULT 1024 #define IPQ_PROC_FS_NAME "ip_queue" @@ -525,26 +526,6 @@ static ctl_table ipq_table[] = { { .ctl_name = 0 } }; -static ctl_table ipq_dir_table[] = { - { - .ctl_name = NET_IPV4, - .procname = "ipv4", - .mode = 0555, - .child = ipq_table - }, - { .ctl_name = 0 } -}; - -static ctl_table ipq_root_table[] = { - { - .ctl_name = CTL_NET, - .procname = "net", - .mode = 0555, - .child = ipq_dir_table - }, - { .ctl_name = 0 } -}; - static int ip_queue_show(struct seq_file *m, void *v) { read_lock_bh(&queue_lock); @@ -610,7 +591,7 @@ static int __init ip_…
creator: Pavel Emelianov
date: 2008-01-08T16:06:23-00:00

[PATCH net-2.6.25 6/6][NETFILTER] Use the ctl paths instead of hand-made analogue
type: item
description: 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> --- include/linux/netfilter.h | 8 - include/net/netfilter/nf_conntrack_l3proto.h | 2 net/netfilter/nf_conntrack_proto.c | 7 - net/netfilter/nf_sysctl.c | 127 +-------------------------- 4 files changed, 16 insertions(+), 128 deletions(-) diff --git a/include/linux/netfilter.h b/include/linux/netfilter.h index d190d56..c41f643 100644 --- a/include/linux/netfilter.h +++ b/include/linux/netfilter.h @@ -120,12 +120,8 @@ void nf_unregister_sockopt(struct nf_sockopt_ops *reg); #ifdef CONFIG_SYSCTL /* Sysctl registration */ -struct ctl_table_header *nf_register_sysctl_table(struct ctl_table *path, - struct ctl_table *table); -void nf_unregister_sysctl_table(struct ctl_table_header *header, - struct ctl_table *table); -extern struct ctl_table nf_net_netfilter_sysctl_path[]; -extern struct ctl_table nf_net_ipv4_netfilter_sysctl_path[]; +extern struct ctl_path nf_net_netfilter_sysctl_path[]; +extern struct ctl_path nf_net_ipv4_netfilter_sysctl_path[]; #endif /* CONFIG_SYSCTL */ extern struct list_head nf_hooks[NPROTO][NF_MAX_HOOKS]; diff --git a/include/net/netfilter/nf_conntrack_l3proto.h b/include/net/netfilter/nf_conntrack_l3proto.h index 15888fc..875c6d4 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 */ diff --git a/net/netfilter/nf_conntra…
creator: Pavel Emelianov
date: 2008-01-08T16:09:41-00:00

Re: [PATCH net-2.6.25 5/6][NETFILTER] Switch to using ctl_paths in nf_queue and conntrack modules
type: item
description: Pavel Emelyanov wrote: > This includes the most simple cases for netfilter. > > The first part is tne queue modules for ipv4 and ipv6, > on which the net/ipv4/ and net/ipv6/ paths are reused > from the appropriate ipv4 and ipv6 code. > > The conntrack module is also patched, but this hunk is > very small and simple. > > Signed-off-by: Pavel Emelyanov <xemul@openvz.org> Looks good to me.
creator: Patrick McHardy
date: 2008-01-08T16:10:58-00:00

Re: [PATCH net-2.6.25 6/6][NETFILTER] Use the ctl paths instead of hand-made analogue
type: item
description: Pavel Emelyanov wrote: > 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. Also looks good, thanks. But please remeber to CC netfilter-devel on patches affecting netfilter. > After this the net/netfilter/nf_sysctl.c file contains > the paths only. That sounds like they should be moved to net/netfilter/core.c instead and the file removed. I can take care of that once your patches are in Dave's tree.
creator: Patrick McHardy
date: 2008-01-08T16:13:30-00:00

Re: [PATCH net-2.6.25 2/6][IPVS] Switch to using ctl_paths.
type: item
description: On Tue, Jan 08, 2008 at 06:58:11PM +0300, Pavel Emelyanov wrote: > The feature of ipvs ctls is that the net/ipv4/vs path > is common for core ipvs ctls and for two schedulers, > so I make it exported and re-use it in modules. > > Two other .c files required linux/sysctl.h to make the > extern declaration of this path compile well. > > Signed-off-by: Pavel Emelyanov <xemul@openvz.org> Thanks, this looks good to me and I've confirmed that the same entires with the same permissions exist under /proc/sys/net/ipv4/vs before and after the change. Acked-by: Simon Horman <horms@verge.net.au> -- Horms
creator: Simon Horman
date: 2008-01-09T02:47:03-00:00

Re: [PATCH net-2.6.25 1/6][NET] Simple ctl_table to ctl_path conversions.
type: item
description: From: Pavel Emelyanov <xemul@openvz.org> Date: Tue, 08 Jan 2008 18:54:57 +0300 > This patch includes many places, that only required > replacing the ctl_table-s with appropriate ctl_paths > and call register_sysctl_paths(). > > Nothing special was done with them. > > Signed-off-by: Pavel Emelyanov <xemul@openvz.org> Applied.
creator: davem
date: 2008-01-09T08:27:56-00:00

Re: [PATCH net-2.6.25 2/6][IPVS] Switch to using ctl_paths.
type: item
description: From: Simon Horman <horms@verge.net.au> Date: Wed, 9 Jan 2008 11:49:16 +0900 > On Tue, Jan 08, 2008 at 06:58:11PM +0300, Pavel Emelyanov wrote: > > The feature of ipvs ctls is that the net/ipv4/vs path > > is common for core ipvs ctls and for two schedulers, > > so I make it exported and re-use it in modules. > > > > Two other .c files required linux/sysctl.h to make the > > extern declaration of this path compile well. > > > > Signed-off-by: Pavel Emelyanov <xemul@openvz.org> > > Thanks, this looks good to me and I've confirmed that > the same entires with the same permissions exist under > /proc/sys/net/ipv4/vs before and after the change. > > Acked-by: Simon Horman <horms@verge.net.au> Applied, thanks everyone.
creator: davem
date: 2008-01-09T08:28:33-00:00

Re: [PATCH net-2.6.25 3/6][DECNET] Switch to using ctl_paths.
type: item
description: From: Pavel Emelyanov <xemul@openvz.org> Date: Tue, 08 Jan 2008 19:02:16 +0300 > The decnet includes two places to patch. The first one is > the net/decnet table itself, and it is patched just like > other subsystems in the first patch in this series. > > The second place is a bit more complex - it is the > net/decnet/conf/xxx entries,. similar to those in > ipv4/devinet.c and ipv6/addrconf.c. This code is made similar > to those in ipv[46]. > > Signed-off-by: Pavel Emelyanov <xemul@openvz.org> Applied.
creator: davem
date: 2008-01-09T08:29:32-00:00

Re: [PATCH net-2.6.25 4/6][AX25] Switch to using ctl_paths.
type: item
description: From: Pavel Emelyanov <xemul@openvz.org> Date: Tue, 08 Jan 2008 19:05:18 +0300 > This one is almost the same as the hunks in the > first patch, but ax25 tables are created dynamically. > > So this patch differs a bit to handle this case. > > Signed-off-by: Pavel Emelyanov <xemul@openvz.org> Applied.
creator: davem
date: 2008-01-09T08:30:06-00:00

Re: [PATCH net-2.6.25 5/6][NETFILTER] Switch to using ctl_paths in nf_queue and conntrack modules
type: item
description: From: Patrick McHardy <kaber@trash.net> Date: Tue, 08 Jan 2008 17:10:58 +0100 > Pavel Emelyanov wrote: > > This includes the most simple cases for netfilter. > > > > The first part is tne queue modules for ipv4 and ipv6, > > on which the net/ipv4/ and net/ipv6/ paths are reused > > from the appropriate ipv4 and ipv6 code. > > > > The conntrack module is also patched, but this hunk is > > very small and simple. > > > > Signed-off-by: Pavel Emelyanov <xemul@openvz.org> > > Looks good to me. Applied.
creator: davem
date: 2008-01-09T08:30:53-00:00

Re: [PATCH net-2.6.25 6/6][NETFILTER] Use the ctl paths instead of hand-made analogue
type: item
description: From: Patrick McHardy <kaber@trash.net> Date: Tue, 08 Jan 2008 17:13:30 +0100 > Pavel Emelyanov wrote: > > 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. > > Also looks good, thanks. Also applied, thanks.
creator: davem
date: 2008-01-09T08:31:59-00:00