aboutsummaryrefslogtreecommitdiffstats
path: root/net/sctp/protocol.c
diff options
context:
space:
mode:
authorVlad Yasevich <vladislav.yasevich@hp.com>2007-09-16 19:04:37 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2007-10-10 19:51:23 -0400
commit007e3936bdaaa012483c9fe06ca71c272458c710 (patch)
tree04fd9f1b95f7f55826aa1c9df30a93e2170274d1 /net/sctp/protocol.c
parent131a47e31ab1a9defd50ff16b04008ab94c21c0d (diff)
[SCTP]: Move sysctl_sctp_[rw]mem definitions to protocol.c
The sctp_[rw]mem definitions should really be in protocol.c since that is where they are initialized. This also allows one to build a kernel without sysctl support. Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sctp/protocol.c')
-rw-r--r--net/sctp/protocol.c6
1 files changed, 3 insertions, 3 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;
84struct kmem_cache *sctp_chunk_cachep __read_mostly; 84struct kmem_cache *sctp_chunk_cachep __read_mostly;
85struct kmem_cache *sctp_bucket_cachep __read_mostly; 85struct kmem_cache *sctp_bucket_cachep __read_mostly;
86 86
87extern int sysctl_sctp_mem[3]; 87int sysctl_sctp_mem[3];
88extern int sysctl_sctp_rmem[3]; 88int sysctl_sctp_rmem[3];
89extern int sysctl_sctp_wmem[3]; 89int sysctl_sctp_wmem[3];
90 90
91/* Return the address of the control sock. */ 91/* Return the address of the control sock. */
92struct sock *sctp_get_ctl_sock(void) 92struct sock *sctp_get_ctl_sock(void)