net: Abstract default MTU metric calculation behind an accessor.
authorDavid S. Miller <davem@davemloft.net>
Tue, 14 Dec 2010 21:01:14 +0000 (13:01 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 14 Dec 2010 21:01:14 +0000 (13:01 -0800)
Like RTAX_ADVMSS, make the default calculation go through a dst_ops
method rather than caching the computation in the routing cache
entries.

Now dst metrics are pretty much left as-is when new entries are
created, thus optimizing metric sharing becomes a real possibility.

Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found