diff options
Diffstat (limited to 'net/sctp/sysctl.c')
-rw-r--r-- | net/sctp/sysctl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/sctp/sysctl.c b/net/sctp/sysctl.c index 60ffbd067ff7..1e385b452047 100644 --- a/net/sctp/sysctl.c +++ b/net/sctp/sysctl.c | |||
@@ -286,11 +286,11 @@ static struct ctl_table_header * sctp_sysctl_header; | |||
286 | /* Sysctl registration. */ | 286 | /* Sysctl registration. */ |
287 | void sctp_sysctl_register(void) | 287 | void sctp_sysctl_register(void) |
288 | { | 288 | { |
289 | sctp_sysctl_header = register_sysctl_paths(sctp_path, sctp_table); | 289 | sctp_sysctl_header = register_net_sysctl_table(&init_net, sctp_path, sctp_table); |
290 | } | 290 | } |
291 | 291 | ||
292 | /* Sysctl deregistration. */ | 292 | /* Sysctl deregistration. */ |
293 | void sctp_sysctl_unregister(void) | 293 | void sctp_sysctl_unregister(void) |
294 | { | 294 | { |
295 | unregister_sysctl_table(sctp_sysctl_header); | 295 | unregister_net_sysctl_table(sctp_sysctl_header); |
296 | } | 296 | } |