Subject: Re: Re: Kernel panic in fib_rules_lookup (kernel 2.6.32)

From: "\"Oleg A. Arkhangelsky\"" <[email-masked]>
Date: Sun, 02 May 2010 14:46:26 +0400

Hello,

09.03.10, 17:09, "Eric Dumazet" <[email-masked]>:

> Le mardi 09 mars 2010 à 10:44 +0300, "Oleg A. Arkhangelsky" a écrit :
>  > Hello,
>  > 
>  > Got this kernel panic tomorrow. This PC is rather heavy loaded router with BGP full view (> 300K routes).
>  > We're using FIB_TRIE. Last time we got similar panic about 1 month ago. Please, let me know if you
>  > need additional information to debug (e.g. objdump). Thanks!
>  > 
>  > Mar  9 10:08:55 bras-1 kernel: BUG: unable to handle kernel NULL pointer dereference at (null)
>  > Mar  9 10:08:55 bras-1 kernel: IP: [] fib_rules_lookup+0xa2/0xd0
>  > Mar  9 10:08:55 bras-1 kernel: *pde = 00000000
>  > Mar  9 10:08:55 bras-1 kernel: Thread overran stack, or stack corrupted
>  
>  Hmm...

Got the same panic, at the same place (fib_rules_lookup+0xa2/0xd0). Looks like the problem with NULL dereference is somewhere in list_for_each_entry_rcu macro. But I don't understand how this can be.

Any thoughts? :(

-- 
wbr, Oleg.