diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/sctp/protocol.c | 6 | ||||
-rw-r--r-- | net/sctp/sysctl.c | 11 |
2 files changed, 6 insertions, 11 deletions
diff --git a/net/sctp/protocol.c b/net/sctp/protocol.c index 54edcd978f75..3ec8b12b6da4 100644 --- a/net/sctp/protocol.c +++ b/net/sctp/protocol.c | |||
@@ -84,9 +84,9 @@ static struct sctp_af *sctp_af_v6_specific; | |||
84 | struct kmem_cache *sctp_chunk_cachep __read_mostly; | 84 | struct kmem_cache *sctp_chunk_cachep __read_mostly; |
85 | struct kmem_cache *sctp_bucket_cachep __read_mostly; | 85 | struct kmem_cache *sctp_bucket_cachep __read_mostly; |
86 | 86 | ||
87 | extern int sysctl_sctp_mem[3]; | 87 | int sysctl_sctp_mem[3]; |
88 | extern int sysctl_sctp_rmem[3]; | 88 | int sysctl_sctp_rmem[3]; |
89 | extern int sysctl_sctp_wmem[3]; | 89 | int sysctl_sctp_wmem[3]; |
90 | 90 | ||
91 | /* Return the address of the control sock. */ | 91 | /* Return the address of the control sock. */ |
92 | struct sock *sctp_get_ctl_sock(void) | 92 | struct sock *sctp_get_ctl_sock(void) |
diff --git a/net/sctp/sysctl.c b/net/sctp/sysctl.c index ba75ef4669e3..39b10ee2f017 100644 --- a/net/sctp/sysctl.c +++ b/net/sctp/sysctl.c | |||
@@ -52,14 +52,9 @@ static int int_max = INT_MAX; | |||
52 | static long sack_timer_min = 1; | 52 | static long sack_timer_min = 1; |
53 | static long sack_timer_max = 500; | 53 | static long sack_timer_max = 500; |
54 | 54 | ||
55 | int sysctl_sctp_mem[3]; | 55 | extern int sysctl_sctp_mem[3]; |
56 | int sysctl_sctp_rmem[3]; | 56 | extern int sysctl_sctp_rmem[3]; |
57 | int sysctl_sctp_wmem[3]; | 57 | extern int sysctl_sctp_wmem[3]; |
58 | |||
59 | /* | ||
60 | * per assoc memory limitationf for sends | ||
61 | */ | ||
62 | int sysctl_sctp_wmem[3]; | ||
63 | 58 | ||
64 | static ctl_table sctp_table[] = { | 59 | static ctl_table sctp_table[] = { |
65 | { | 60 | { |