David S. Miller 0dbaee3b37 net: Abstract default ADVMSS behind an accessor.
Make all RTAX_ADVMSS metric accesses go through a new helper function,
dst_metric_advmss().

Leave the actual default metric as "zero" in the real metric slot,
and compute the actual default value dynamically via a new dst_ops
AF specific callback.

For stacked IPSEC routes, we use the advmss of the path which
preserves existing behavior.

Unlike ipv4/ipv6, DecNET ties the advmss to the mtu and thus updates
advmss on pmtu updates.  This inconsistency in advmss handling
results in more raw metric accesses than I wish we ended up with.

Signed-off-by: David S. Miller <davem@davemloft.net>
2010-12-13 12:52:14 -08:00
..
2010-12-10 14:57:34 -08:00
2010-09-23 14:33:39 -07:00
2010-06-09 18:39:27 -07:00
2010-02-22 16:20:22 -08:00
2010-05-11 14:40:55 +02:00
2010-11-24 11:16:42 -08:00
2010-10-25 14:18:28 -07:00
2010-06-26 22:00:03 -07:00
2010-10-25 13:09:45 -07:00
2010-01-17 19:16:02 -08:00