diff options
Diffstat (limited to 'net/sctp')
-rw-r--r-- | net/sctp/probe.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/sctp/probe.c b/net/sctp/probe.c index 261b7b9858a4..dd507f5ca8e7 100644 --- a/net/sctp/probe.c +++ b/net/sctp/probe.c | |||
@@ -195,8 +195,8 @@ static __init int sctpprobe_init(void) | |||
195 | if (kfifo_alloc(&sctpw.fifo, bufsize, GFP_KERNEL)) | 195 | if (kfifo_alloc(&sctpw.fifo, bufsize, GFP_KERNEL)) |
196 | return ret; | 196 | return ret; |
197 | 197 | ||
198 | if (!proc_net_fops_create(&init_net, procname, S_IRUSR, | 198 | if (!proc_create(procname, S_IRUSR, init_net.proc_net, |
199 | &sctpprobe_fops)) | 199 | &sctpprobe_fops)) |
200 | goto free_kfifo; | 200 | goto free_kfifo; |
201 | 201 | ||
202 | ret = register_jprobe(&sctp_recv_probe); | 202 | ret = register_jprobe(&sctp_recv_probe); |