commit | 952a10be3272c4b5b7839b09cb0483dc72137101 | [log] [tgz] |
---|---|---|
author | YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> | Sat Apr 21 20:13:44 2007 +0900 |
committer | David S. Miller <davem@sunset.davemloft.net> | Wed Apr 25 22:29:36 2007 -0700 |
tree | 12c29551260be0c6e7b412199236812b42707e23 | |
parent | 2334e973559e119fa4161047035f03ad97a8676a [diff] [blame] |
[IPV6] SNMP: Fix several warnings without procfs. Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
diff --git a/net/ipv6/route.c b/net/ipv6/route.c index 6264ec3..b46ad53 100644 --- a/net/ipv6/route.c +++ b/net/ipv6/route.c
@@ -2489,8 +2489,9 @@ void __init ip6_route_init(void) { +#ifdef CONFIG_PROC_FS struct proc_dir_entry *p; - +#endif ip6_dst_ops.kmem_cachep = kmem_cache_create("ip6_dst_cache", sizeof(struct rt6_info), 0, SLAB_HWCACHE_ALIGN|SLAB_PANIC, NULL, NULL);