]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[IPV4]: Unify access to the routing tables.
authorDenis V. Lunev <den@openvz.org>
Thu, 10 Jan 2008 11:23:38 +0000 (03:23 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:01:26 +0000 (15:01 -0800)
commit93456b6d7753def8760b423ac6b986eb9d5a4a95
tree840a84aa88dda5a99834af4b6c9ac6cf75c90b98
parent7b1a74fdbb9ec38a9780620fae25519fde4b21ee
[IPV4]: Unify access to the routing tables.

Replace the direct pointers to local and main tables with
calls to fib_get_table() with appropriate argument.

This doesn't introduce additional dereferences, but makes the access to fib
tables uniform in any (CONFIG_IP_MULTIPLE_TABLES) case.

Acked-by: Benjamin Thery <benjamin.thery@bull.net>
Acked-by: Daniel Lezcano <dlezcano@fr.ibm.com>
Signed-off-by: Denis V. Lunev <den@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/ip_fib.h
net/ipv4/fib_frontend.c