[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: A question of rtable creation



On Sat, 2002-08-10 at 00:01, KONG, Gangfeng wrote:

> It means:
> 	ipv4_dst_ops.kmem_cachep == NULL

Learn to use grep :)

in ip_rt_init():

ipv4_dst_ops.kmem_cachep = kmem_cache_create("ip_dst_cache",
					sizeof(struct rtable),
					0, SLAB_HWCACHE_ALIGN,
					NULL, NULL);

-- 
/Martin

Never argue with an idiot. They drag you down to their level, then beat
you with experience.
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/