diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/dccp/input.c | 3 | ||||
-rw-r--r-- | net/dccp/sysctl.c | 3 |
2 files changed, 3 insertions, 3 deletions
diff --git a/net/dccp/input.c b/net/dccp/input.c index 19d7e1dbd87e..3560a2a875a0 100644 --- a/net/dccp/input.c +++ b/net/dccp/input.c | |||
@@ -19,6 +19,9 @@ | |||
19 | #include "ccid.h" | 19 | #include "ccid.h" |
20 | #include "dccp.h" | 20 | #include "dccp.h" |
21 | 21 | ||
22 | /* rate-limit for syncs in reply to sequence-invalid packets; RFC 4340, 7.5.4 */ | ||
23 | int sysctl_dccp_sync_ratelimit __read_mostly = HZ / 8; | ||
24 | |||
22 | static void dccp_fin(struct sock *sk, struct sk_buff *skb) | 25 | static void dccp_fin(struct sock *sk, struct sk_buff *skb) |
23 | { | 26 | { |
24 | sk->sk_shutdown |= RCV_SHUTDOWN; | 27 | sk->sk_shutdown |= RCV_SHUTDOWN; |
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 @@ | |||
18 | #error This file should not be compiled without CONFIG_SYSCTL defined | 18 | #error This file should not be compiled without CONFIG_SYSCTL defined |
19 | #endif | 19 | #endif |
20 | 20 | ||
21 | /* rate-limit for syncs in reply to sequence-invalid packets; RFC 4340, 7.5.4 */ | ||
22 | int sysctl_dccp_sync_ratelimit __read_mostly = HZ / 8; | ||
23 | |||
24 | static struct ctl_table dccp_default_table[] = { | 21 | static struct ctl_table dccp_default_table[] = { |
25 | { | 22 | { |
26 | .procname = "seq_window", | 23 | .procname = "seq_window", |