aboutsummaryrefslogtreecommitdiffstats
path: root/net/sctp/sysctl.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/sysctl.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/sysctl.c')
-rw-r--r--net/sctp/sysctl.c11
1 files changed, 3 insertions, 8 deletions
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;
52static long sack_timer_min = 1; 52static long sack_timer_min = 1;
53static long sack_timer_max = 500; 53static long sack_timer_max = 500;
54 54
55int sysctl_sctp_mem[3]; 55extern int sysctl_sctp_mem[3];
56int sysctl_sctp_rmem[3]; 56extern int sysctl_sctp_rmem[3];
57int sysctl_sctp_wmem[3]; 57extern int sysctl_sctp_wmem[3];
58
59/*
60 * per assoc memory limitationf for sends
61 */
62int sysctl_sctp_wmem[3];
63 58
64static ctl_table sctp_table[] = { 59static ctl_table sctp_table[] = {
65 { 60 {