From: Steffen Klassert <steffen.klassert@secunet.com>
Date: Wed, 7 Mar 2012 08:20:26 +0100
We initialize the routing metrics with the values cached on the
inetpeer in rt_init_metrics(). So if we have the metrics cached on the
inetpeer, we ignore the user configured fib_metrics.
To fix this issue, we replace the old tree with a fresh initialized
inet_peer_base. The old tree is removed later with a delayed work queue.
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Applied, but I had to fixup trailing whitespace:
+ spin_lock_bh(&gc_lock);
at the end of that line.