diff options
author | Ingo Molnar <mingo@elte.hu> | 2007-10-18 04:33:06 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2007-10-18 04:33:06 +0200 |
commit | bd5435e76a226b7151ae5aaee2cd366ab003dd2e (patch) | |
tree | 54d0d4f05d9fe182abbac3f0d60628835df48a93 /net/dccp/sysctl.c | |
parent | [IPV6]: Fix memory leak in cleanup_ipv6_mibs() (diff) | |
download | linux-bd5435e76a226b7151ae5aaee2cd366ab003dd2e.tar.xz linux-bd5435e76a226b7151ae5aaee2cd366ab003dd2e.zip |
[DCCP]: fix link error with !CONFIG_SYSCTL
Do not define the sysctl_dccp_sync_ratelimit sysctl variable in the
CONFIG_SYSCTL dependent sysctl.c module - move it to input.c instead.
This fixes the following build bug:
net/built-in.o: In function `dccp_check_seqno':
input.c:(.text+0xbd859): undefined reference to `sysctl_dccp_sync_ratelimit'
distcc[29953] ERROR: compile (null) on localhost failed
make: *** [vmlinux] Error 1
Found via 'make randconfig' build testing.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Acked-by: Ian McDonald <ian.mcdonald@jandi.co.nz>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dccp/sysctl.c')
-rw-r--r-- | net/dccp/sysctl.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/net/dccp/sysctl.c b/net/dccp/sysctl.c index 9364b2fb4dbd..c62c05039f69 100644 --- a/net/dccp/sysctl.c +++ b/net/dccp/sysctl.c @@ -18,9 +18,6 @@ #error This file should not be compiled without CONFIG_SYSCTL defined #endif -/* rate-limit for syncs in reply to sequence-invalid packets; RFC 4340, 7.5.4 */ -int sysctl_dccp_sync_ratelimit __read_mostly = HZ / 8; - static struct ctl_table dccp_default_table[] = { { .procname = "seq_window", |