diff options
author | Vasiliy Kulikov <segoon@openwall.com> | 2011-05-16 20:16:56 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-05-17 14:16:58 -0400 |
commit | f56e03e8dc149bf0ac2888d6843584f48c8700fc (patch) | |
tree | 071864cd821423ff1caf06d824823b533cbcab77 /include/net/ping.h | |
parent | 6dcae1eaee2b437536b2fe928a609f9589691ebf (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/ping.h')
-rw-r--r-- | include/net/ping.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/net/ping.h b/include/net/ping.h index 23062c369c62..682b5ae9af51 100644 --- a/include/net/ping.h +++ b/include/net/ping.h | |||
@@ -44,8 +44,6 @@ extern struct proto ping_prot; | |||
44 | extern void ping_rcv(struct sk_buff *); | 44 | extern void ping_rcv(struct sk_buff *); |
45 | extern void ping_err(struct sk_buff *, u32 info); | 45 | extern void ping_err(struct sk_buff *, u32 info); |
46 | 46 | ||
47 | extern void inet_get_ping_group_range_net(struct net *net, unsigned int *low, unsigned int *high); | ||
48 | |||
49 | #ifdef CONFIG_PROC_FS | 47 | #ifdef CONFIG_PROC_FS |
50 | extern int __init ping_proc_init(void); | 48 | extern int __init ping_proc_init(void); |
51 | extern void ping_proc_exit(void); | 49 | extern void ping_proc_exit(void); |