diff options
Diffstat (limited to 'net/ipv4/ping.c')
-rw-r--r-- | net/ipv4/ping.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/ping.c b/net/ipv4/ping.c index fc62a13b5eef..55c4ee1bba06 100644 --- a/net/ipv4/ping.c +++ b/net/ipv4/ping.c | |||
@@ -897,7 +897,7 @@ static int ping_proc_register(struct net *net) | |||
897 | 897 | ||
898 | static void ping_proc_unregister(struct net *net) | 898 | static void ping_proc_unregister(struct net *net) |
899 | { | 899 | { |
900 | proc_net_remove(net, "icmp"); | 900 | remove_proc_entry("icmp", net->proc_net); |
901 | } | 901 | } |
902 | 902 | ||
903 | 903 | ||