diff options
Diffstat (limited to 'net/ipv4/ipmr.c')
-rw-r--r-- | net/ipv4/ipmr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv4/ipmr.c b/net/ipv4/ipmr.c index 7085b9b51e7f..160a8b8e9cae 100644 --- a/net/ipv4/ipmr.c +++ b/net/ipv4/ipmr.c | |||
@@ -2703,9 +2703,9 @@ static int __net_init ipmr_net_init(struct net *net) | |||
2703 | 2703 | ||
2704 | #ifdef CONFIG_PROC_FS | 2704 | #ifdef CONFIG_PROC_FS |
2705 | err = -ENOMEM; | 2705 | err = -ENOMEM; |
2706 | if (!proc_net_fops_create(net, "ip_mr_vif", 0, &ipmr_vif_fops)) | 2706 | if (!proc_create("ip_mr_vif", 0, net->proc_net, &ipmr_vif_fops)) |
2707 | goto proc_vif_fail; | 2707 | goto proc_vif_fail; |
2708 | if (!proc_net_fops_create(net, "ip_mr_cache", 0, &ipmr_mfc_fops)) | 2708 | if (!proc_create("ip_mr_cache", 0, net->proc_net, &ipmr_mfc_fops)) |
2709 | goto proc_cache_fail; | 2709 | goto proc_cache_fail; |
2710 | #endif | 2710 | #endif |
2711 | return 0; | 2711 | return 0; |