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

David Miller davem at davemloft.net
Tue Oct 23 21:17:36 PDT 2007


From: Pavel Emelyanov <xemul at openvz.org>
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 implicitly
> making 3 calls. Fix it.
> 
> Signed-off-by: Pavel Emelyanov <xemul at openvz.org>

Good catch, applied.




More information about the Devel mailing list