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

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