melifaro f8d64c469a Finish r274175: do control plane MTU tracking.
Update route MTU in case of ifnet MTU change.
Add new RTF_FIXEDMTU to track explicitly specified MTU.

Old behavior:
ifconfig em0 mtu 1500->9000 -> all routes traversing em0 do not change MTU.
User has to manually update all routes.
ifconfig em0 mtu 9000->1500 -> all routes traversing em0 do not change MTU.
However, if ip[6]_output finds route with rt_mtu > interface mtu, rt_mtu
gets updated.

New behavior:
ifconfig em0 mtu 1500->9000 -> all interface routes in all fibs gets updated
with new MTU unless RTF_FIXEDMTU flag set on them.
ifconfig em0 mtu 9000->1500 -> all routes in all fibs gets updated with new
MTU unless RTF_FIXEDMTU flag set on them AND rt_mtu is less than ifp mtu.

route add ... -mtu XXX automatically sets RTF_FIXEDMTU flag.
route change .. -mtu 0 automatically removes RTF_FIXEDMTU flag.

PR:		194238
MFC after:	1 month
CR:		D1125
2014-11-17 01:05:29 +00:00
..
2014-02-17 12:07:17 +00:00
2014-11-06 13:13:09 +00:00
2014-10-05 21:27:26 +00:00
2014-11-09 11:13:15 +00:00
2014-10-14 13:31:47 +00:00
2014-11-07 19:13:19 +00:00
2014-11-06 13:13:09 +00:00
2014-11-07 19:13:19 +00:00
2014-11-06 13:13:09 +00:00
2014-11-11 12:05:59 +00:00
2014-10-02 05:56:17 +00:00
2014-10-20 14:42:42 +00:00