Skip to content
Commit d33e4553 authored by David S. Miller's avatar David S. Miller
Browse files

net: Abstract default MTU metric calculation behind an accessor.



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: default avatarDavid S. Miller <davem@davemloft.net>
parent 9fe146ae
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment