]> err.no Git - linux-2.6/commit
[IPV4]: Explicitly call fib_get_table() in fib_frontend.c
authorPavel Emelyanov <xemul@openvz.org>
Wed, 24 Oct 2007 04:17:27 +0000 (21:17 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 24 Oct 2007 04:27:58 +0000 (21:27 -0700)
commit03cf786c4e83dba404ad23ca58f49147ae52dffd
treedc694a37209df68386edf7bc94ffa28df7e9cffc
parentf0fe91ded36bab95541e960ae8a115abc1f5ba03
[IPV4]: Explicitly call fib_get_table() in fib_frontend.c

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@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/fib_frontend.c