mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 07:12:09 +00:00
[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>
This commit is contained in:
parent
131a47e31a
commit
007e3936bd
2 changed files with 6 additions and 11 deletions
|
@ -52,14 +52,9 @@ static int int_max = INT_MAX;
|
|||
static long sack_timer_min = 1;
|
||||
static long sack_timer_max = 500;
|
||||
|
||||
int sysctl_sctp_mem[3];
|
||||
int sysctl_sctp_rmem[3];
|
||||
int sysctl_sctp_wmem[3];
|
||||
|
||||
/*
|
||||
* per assoc memory limitationf for sends
|
||||
*/
|
||||
int sysctl_sctp_wmem[3];
|
||||
extern int sysctl_sctp_mem[3];
|
||||
extern int sysctl_sctp_rmem[3];
|
||||
extern int sysctl_sctp_wmem[3];
|
||||
|
||||
static ctl_table sctp_table[] = {
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue