commit | 312487313d4f7177cb751830e3d9c218e42ed59e | [log] [tgz] |
---|---|---|
author | David S. Miller <davem@davemloft.net> | Tue Jul 10 07:08:18 2012 -0700 |
committer | David S. Miller <davem@davemloft.net> | Tue Jul 10 22:40:17 2012 -0700 |
tree | feac6ec40f28f12ea7bfee8cca2df719f1f22d50 | |
parent | 2db2d67e4cf6100249bad575d9c13c16fd7b06dc [diff] |
ipv4: Calling ->cow_metrics() now is a bug. Nothing every writes to ipv4 metrics any longer. PMTU is stored in rt->rt_pmtu. Dynamic TCP metrics are stored in a special TCP metrics cache, completely outside of the routes. Therefore ->cow_metrics() can simply nothing more than a WARN_ON trigger so we can catch anyone who tries to add new writes to ipv4 route metrics. Signed-off-by: David S. Miller <davem@davemloft.net>