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-10-25 16:28:09 -05:00
2010-10-26 10:42:35 -05:00
2008-08-29 02:13:10 -07:00
2010-10-25 15:01:14 -05:00
2010-07-27 12:02:00 -05:00
2010-01-18 10:48:08 -06:00
2008-12-28 20:00:03 +01:00
2010-05-02 15:55:03 -04:00
2010-11-10 14:54:09 +01:00
2010-08-11 00:55:42 -04:00
2010-09-16 11:48:48 -04:00
2008-02-07 18:02:44 -06:00
2009-12-10 08:54:13 -06:00