Re: [PATCH] ipv4: panic in leaf_walk_rcu due to stale node pointer

2016-08-03 Thread Alexander Duyck
On Wed, Aug 3, 2016 at 12:01 PM, David Miller wrote: > From: David Forster > Date: Wed, 3 Aug 2016 15:13:01 +0100 > >> Panic occurs when issuing "cat /proc/net/route" whilst >> populating FIB with > 1M routes. >> >> Use of cached node pointer in fib_route_get_idx is unsafe. > ... >> Signed-off-b

Re: [PATCH] ipv4: panic in leaf_walk_rcu due to stale node pointer

2016-08-03 Thread David Miller
From: David Forster Date: Wed, 3 Aug 2016 15:13:01 +0100 > Panic occurs when issuing "cat /proc/net/route" whilst > populating FIB with > 1M routes. > > Use of cached node pointer in fib_route_get_idx is unsafe. ... > Signed-off-by: Dave Forster Alexander, please review. Thanks.

[PATCH] ipv4: panic in leaf_walk_rcu due to stale node pointer

2016-08-03 Thread David Forster
Panic occurs when issuing "cat /proc/net/route" whilst populating FIB with > 1M routes. Use of cached node pointer in fib_route_get_idx is unsafe. BUG: unable to handle kernel paging request at c90001630024 IP: [] leaf_walk_rcu+0x10/0xe0 PGD 11b08d067 PUD 11b08e067 PMD dac4b067 PTE 0 Oops