[Click] Is DirectIPLookup work in kernel mode?

Alexander Sotnikov a3df at trirema.kiev.ua
Fri May 20 08:28:10 EDT 2005


Thanks for explanation.
 From oops I see problem was in ARPQ
After cvs update problem solved (in cangelog i noticed some poblems in 
ARPQ was fixed)

I not so good at C++ but maybe  overloading 'new'  to vmalloc() could help?

BTW  ksymoops  generate  ~3k warning trying to  compare_maps , so bug 
report is too big for maillist.

PS: Sorry for bad English

Eddie Kohler wrote:

> Alexander,
>
> Now that you mention it, it does not surprise me that DirectIPLookup 
> fails to work.  Linux requires the use of special functions 
> (vmalloc()) to allocate objects as big as a DirectIPLookup table.  I 
> don't believe we use those functions.  I'll mark the elements as 
> user-level only.  (Marko: Does it work in the BSD kernel?)
>
> RadixIPLookup, however, SHOULD work, and I am disappointed that it 
> doesn't. Let's fix it.  Can you please send the result of the kernel 
> panic?  Use "dmesg | ksymoops" or similar to make the dump more readable.
>
> Eddie
>
>
> Alexander Sotnikov wrote:
>
>> Hi
>> Is DirectIPLookoop work in kernel mode? Or any fast lookup scheme? 
>> Radix  "appear' to work but kernel panic after several minutes of 
>> running or always crash after new config load
>> because i get "line 82:  failed to create element 'rt' "   with 
>> current CVS version 1.5pre on 2.4.26 SMP
>> StaticIPLookup worg fine in place of DirectIPLookuo?
>> Any clue how to fix this?
>>
>>
>>



More information about the click mailing list