aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2007-02-12 14:16:58 -0500
committerDavid S. Miller <davem@davemloft.net>2007-02-12 14:16:58 -0500
commit3aef0fd91c67f4070c8dc607807615c4bdd66bd1 (patch)
treecb807d5131b2dd3b427ac61463f2b32c4d00467c /net
parent138939e0662ccb0e805aefe400bcf9cfcbece8e7 (diff)
[NETFILTER]: nf_conntrack_tcp: make sysctl variables static
sysctls are registered by the protocol module itself since 2.6.19, no need to have them visible to others. Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r--net/netfilter/nf_conntrack_proto_tcp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/netfilter/nf_conntrack_proto_tcp.c b/net/netfilter/nf_conntrack_proto_tcp.c
index c2884f9db07b..aff65aad3c66 100644
--- a/net/netfilter/nf_conntrack_proto_tcp.c
+++ b/net/netfilter/nf_conntrack_proto_tcp.c
@@ -58,16 +58,16 @@ static DEFINE_RWLOCK(tcp_lock);
58/* "Be conservative in what you do, 58/* "Be conservative in what you do,
59 be liberal in what you accept from others." 59 be liberal in what you accept from others."
60 If it's non-zero, we mark only out of window RST segments as INVALID. */ 60 If it's non-zero, we mark only out of window RST segments as INVALID. */
61int nf_ct_tcp_be_liberal __read_mostly = 0; 61static int nf_ct_tcp_be_liberal __read_mostly = 0;
62 62
63/* If it is set to zero, we disable picking up already established 63/* If it is set to zero, we disable picking up already established
64 connections. */ 64 connections. */
65int nf_ct_tcp_loose __read_mostly = 1; 65static int nf_ct_tcp_loose __read_mostly = 1;
66 66
67/* Max number of the retransmitted packets without receiving an (acceptable) 67/* Max number of the retransmitted packets without receiving an (acceptable)
68 ACK from the destination. If this number is reached, a shorter timer 68 ACK from the destination. If this number is reached, a shorter timer
69 will be started. */ 69 will be started. */
70int nf_ct_tcp_max_retrans __read_mostly = 3; 70static int nf_ct_tcp_max_retrans __read_mostly = 3;
71 71
72 /* FIXME: Examine ipfilter's timeouts and conntrack transitions more 72 /* FIXME: Examine ipfilter's timeouts and conntrack transitions more
73 closely. They're more complex. --RR */ 73 closely. They're more complex. --RR */