* [2.6 patch] make nf_ct_path[] static
@ 2008-01-30 20:02 Adrian Bunk
2008-01-30 20:02 ` Patrick McHardy
2008-01-31 10:38 ` Pavel Emelyanov
0 siblings, 2 replies; 3+ messages in thread
From: Adrian Bunk @ 2008-01-30 20:02 UTC (permalink / raw)
To: Pavel Emelyanov, Patrick McHardy, David S. Miller
Cc: netfilter-devel, netdev, linux-kernel
This patch makes the needlessly global nf_ct_path[] static.
Signed-off-by: Adrian Bunk <bunk@kernel.org>
---
6396fbcebe3eb61f7e6eb1a671920a515912b005
diff --git a/net/netfilter/nf_conntrack_standalone.c b/net/netfilter/nf_conntrack_standalone.c
index 696074a..5bd38a6 100644
--- a/net/netfilter/nf_conntrack_standalone.c
+++ b/net/netfilter/nf_conntrack_standalone.c
@@ -380,7 +380,7 @@ static ctl_table nf_ct_netfilter_table[] = {
{ .ctl_name = 0 }
};
-struct ctl_path nf_ct_path[] = {
+static struct ctl_path nf_ct_path[] = {
{ .procname = "net", .ctl_name = CTL_NET, },
{ }
};
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [2.6 patch] make nf_ct_path[] static
2008-01-30 20:02 [2.6 patch] make nf_ct_path[] static Adrian Bunk
@ 2008-01-30 20:02 ` Patrick McHardy
2008-01-31 10:38 ` Pavel Emelyanov
1 sibling, 0 replies; 3+ messages in thread
From: Patrick McHardy @ 2008-01-30 20:02 UTC (permalink / raw)
To: Adrian Bunk
Cc: Pavel Emelyanov, David S. Miller, netfilter-devel, netdev,
linux-kernel
Adrian Bunk wrote:
> This patch makes the needlessly global nf_ct_path[] static.
I already have this queued.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [2.6 patch] make nf_ct_path[] static
2008-01-30 20:02 [2.6 patch] make nf_ct_path[] static Adrian Bunk
2008-01-30 20:02 ` Patrick McHardy
@ 2008-01-31 10:38 ` Pavel Emelyanov
1 sibling, 0 replies; 3+ messages in thread
From: Pavel Emelyanov @ 2008-01-31 10:38 UTC (permalink / raw)
To: Adrian Bunk
Cc: Patrick McHardy, David S. Miller, netfilter-devel, netdev,
linux-kernel
Adrian Bunk wrote:
> This patch makes the needlessly global nf_ct_path[] static.
>
> Signed-off-by: Adrian Bunk <bunk@kernel.org>
Acked-by: Pavel Emelyanov <xemul@openvz.org>
Thanks, Adrian!
> ---
> 6396fbcebe3eb61f7e6eb1a671920a515912b005
> diff --git a/net/netfilter/nf_conntrack_standalone.c b/net/netfilter/nf_conntrack_standalone.c
> index 696074a..5bd38a6 100644
> --- a/net/netfilter/nf_conntrack_standalone.c
> +++ b/net/netfilter/nf_conntrack_standalone.c
> @@ -380,7 +380,7 @@ static ctl_table nf_ct_netfilter_table[] = {
> { .ctl_name = 0 }
> };
>
> -struct ctl_path nf_ct_path[] = {
> +static struct ctl_path nf_ct_path[] = {
> { .procname = "net", .ctl_name = CTL_NET, },
> { }
> };
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-01-31 10:38 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-30 20:02 [2.6 patch] make nf_ct_path[] static Adrian Bunk
2008-01-30 20:02 ` Patrick McHardy
2008-01-31 10:38 ` Pavel Emelyanov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).