Re: [PATCH] Explicitly call fib_get_table() in fib_frontend.c

2007-10-23 Thread David Miller
From: Pavel Emelyanov <[EMAIL PROTECTED]> Date: Mon, 22 Oct 2007 19:56:04 +0400 > In case the "multiple tables" config option is y, the ip_fib_local_table > is not a variable, but a macro, that calls fib_get_table(RT_TABLE_LOCAL). > > Some code uses this "variable" *3* times in one place, thus im

[PATCH] Explicitly call fib_get_table() in fib_frontend.c

2007-10-22 Thread Pavel Emelyanov
In case the "multiple tables" config option is y, the ip_fib_local_table is not a variable, but a macro, that calls fib_get_table(RT_TABLE_LOCAL). Some code uses this "variable" *3* times in one place, thus implicitly making 3 calls. Fix it. Signed-off-by: Pavel Emelyanov <[EMAIL PROTECTED]> ---