aboutsummaryrefslogtreecommitdiff
path: root/include/net
diff options
context:
space:
mode:
authorVasiliy Kulikov <segoon@openwall.com>2011-05-17 00:16:56 +0000
committerDavid S. Miller <davem@davemloft.net>2011-05-17 14:16:58 -0400
commitf56e03e8dc149bf0ac2888d6843584f48c8700fc (patch)
tree071864cd821423ff1caf06d824823b533cbcab77 /include/net
parent6dcae1eaee2b437536b2fe928a609f9589691ebf (diff)
net: ping: fix build failure
If CONFIG_PROC_SYSCTL=n the building process fails: ping.c:(.text+0x52af3): undefined reference to `inet_get_ping_group_range_net' Moved inet_get_ping_group_range_net() to ping.c. Reported-by: Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by: Vasiliy Kulikov <segoon@openwall.com> Acked-by: Eric Dumazet <eric.dumazet@gmail.com> Acked-by: Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/ping.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/net/ping.h b/include/net/ping.h
index 23062c369c6..682b5ae9af5 100644
--- a/include/net/ping.h
+++ b/include/net/ping.h
@@ -44,8 +44,6 @@ extern struct proto ping_prot;
extern void ping_rcv(struct sk_buff *);
extern void ping_err(struct sk_buff *, u32 info);
-extern void inet_get_ping_group_range_net(struct net *net, unsigned int *low, unsigned int *high);
-
#ifdef CONFIG_PROC_FS
extern int __init ping_proc_init(void);
extern void ping_proc_exit(void);