ipv4: Use const'ify fib_result deep in the route call chains.
authorDavid S. Miller <davem@davemloft.net>
Thu, 17 Feb 2011 05:44:24 +0000 (21:44 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 17 Feb 2011 23:54:42 +0000 (15:54 -0800)
commit982721f3911b2619482e05910644e5699fbeb065
tree217a326d3e362c84b92e4687fcd38f7766fc8655
parentb6bf3ca032c9cd517526178f579e7a4e395c6e45
ipv4: Use const'ify fib_result deep in the route call chains.

The only troublesome bit here is __mkroute_output which wants
to override res->fi and res->type, compute those in local
variables instead.

Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/ip_fib.h
net/ipv4/fib_rules.c
net/ipv4/route.c