diff options
Diffstat (limited to 'net/sctp')
-rw-r--r-- | net/sctp/sysctl.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/net/sctp/sysctl.c b/net/sctp/sysctl.c index 43b5e3243871..b0565afb61c7 100644 --- a/net/sctp/sysctl.c +++ b/net/sctp/sysctl.c | |||
@@ -56,10 +56,8 @@ extern long sysctl_sctp_mem[3]; | |||
56 | extern int sysctl_sctp_rmem[3]; | 56 | extern int sysctl_sctp_rmem[3]; |
57 | extern int sysctl_sctp_wmem[3]; | 57 | extern int sysctl_sctp_wmem[3]; |
58 | 58 | ||
59 | static int proc_sctp_do_hmac_alg(struct ctl_table *ctl, | 59 | static int proc_sctp_do_hmac_alg(struct ctl_table *ctl, int write, |
60 | int write, | ||
61 | void __user *buffer, size_t *lenp, | 60 | void __user *buffer, size_t *lenp, |
62 | |||
63 | loff_t *ppos); | 61 | loff_t *ppos); |
64 | static int proc_sctp_do_rto_min(struct ctl_table *ctl, int write, | 62 | static int proc_sctp_do_rto_min(struct ctl_table *ctl, int write, |
65 | void __user *buffer, size_t *lenp, | 63 | void __user *buffer, size_t *lenp, |
@@ -301,8 +299,7 @@ static struct ctl_table sctp_net_table[] = { | |||
301 | { /* sentinel */ } | 299 | { /* sentinel */ } |
302 | }; | 300 | }; |
303 | 301 | ||
304 | static int proc_sctp_do_hmac_alg(struct ctl_table *ctl, | 302 | static int proc_sctp_do_hmac_alg(struct ctl_table *ctl, int write, |
305 | int write, | ||
306 | void __user *buffer, size_t *lenp, | 303 | void __user *buffer, size_t *lenp, |
307 | loff_t *ppos) | 304 | loff_t *ppos) |
308 | { | 305 | { |